Table of Contents

Method FromConnectionString

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

FromConnectionString(string)

Gets a MongoClientSettings object intialized with values from a connection string.

public static MongoClientSettings FromConnectionString(string connectionString)

Parameters

connectionString string

The connection string.

Returns

MongoClientSettings

A MongoClientSettings.