Table of Contents

Method FromClientSettings

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

FromClientSettings(MongoClientSettings)

Creates a new MongoServerSettings object from a MongoClientSettings object.

public static MongoServerSettings FromClientSettings(MongoClientSettings clientSettings)

Parameters

clientSettings MongoClientSettings

The MongoClientSettings.

Returns

MongoServerSettings

A MongoServerSettings.