C# Класс MongoDB.Azure.ReplicaSets.MongoDBAzureHelper

Helper class used to obtain connection settings to connect to the replica set worker role instances.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetReplicaSetSettings ( ) : MongoServerSettings

Get a MongoServerSettings object that can then be used to create a connection to the MongoDB Replica Set. Note this assumes the name of the replica ser role is ReplicaSetRole. The connection settings should be cached on the client side and should only be obtained if there is a connect exception.

Описание методов

GetReplicaSetSettings() публичный статический Метод

Get a MongoServerSettings object that can then be used to create a connection to the MongoDB Replica Set. Note this assumes the name of the replica ser role is ReplicaSetRole. The connection settings should be cached on the client side and should only be obtained if there is a connect exception.
public static GetReplicaSetSettings ( ) : MongoServerSettings
Результат MongoDB.Driver.MongoServerSettings