Method | Description | |
---|---|---|
GetMongoEndPoint ( ) : |
Get the end point associated with the mongod instance. If running with a warm standby instance it returns the endpoint on which mongod is actually listening.
|
|
GetMongoServer ( ) : MongoServer |
Get an instance of MongoServer and connect to it. Uses default connection string of the form mongod://host:port. For other connection forms or options use GetMongoEndPoint and create your own connection
|
Method | Description | |
---|---|---|
CheckEndpoint ( |
public static GetMongoEndPoint ( ) : |
||
return |
public static GetMongoServer ( ) : MongoServer | ||
return | MongoServer |