Click or drag to resize

MongoServer Constructor

Note: This API is now obsolete.

Creates a new instance of MongoServer. Normally you will use one of the Create methods instead of the constructor to create instances of this class.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
[ObsoleteAttribute("Use client.GetServer instead.")]
public MongoServer(
	MongoServerSettings settings
)

Parameters

settings
Type: MongoDB.DriverMongoServerSettings
The settings for this instance of MongoServer.
See Also