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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax [ObsoleteAttribute("Use client.GetServer instead.")]
public MongoServer(
MongoServerSettings settings
)
<ObsoleteAttribute("Use client.GetServer instead.")>
Public Sub New (
settings As MongoServerSettings
)
[<ObsoleteAttribute("Use client.GetServer instead.")>]
new :
settings : MongoServerSettings -> MongoServer
Parameters
- settings
- Type: MongoDB.DriverMongoServerSettings
The settings for this instance of MongoServer.
See Also