Method FromClientSettings
FromClientSettings(MongoClientSettings)
Creates a new MongoServerSettings object from a MongoClientSettings object.
public static MongoServerSettings FromClientSettings(MongoClientSettings clientSettings)
Parameters
clientSettings
MongoClientSettingsThe MongoClientSettings.
Returns
- MongoServerSettings
A MongoServerSettings.