Метод | Описание | |
---|---|---|
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 ( ) : |
||
Результат |