Table of Contents

Method FromUrl

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

FromUrl(MongoUrl)

Gets a MongoClientSettings object initialized with values from a MongoURL.

public static MongoClientSettings FromUrl(MongoUrl url)

Parameters

url MongoUrl

The MongoURL.

Returns

MongoClientSettings

A MongoClientSettings.