Constructor MongoServerAddress
MongoServerAddress(string)
Initializes a new instance of MongoServerAddress.
public MongoServerAddress(string host)
Parameters
host
stringThe server's host name.
MongoServerAddress(string, int)
Initializes a new instance of MongoServerAddress.
public MongoServerAddress(string host, int port)