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.DriverAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.0.1
Syntax public MongoServer(
MongoServerSettings settings
)
Public Sub New (
settings As MongoServerSettings
)
new :
settings : MongoServerSettings -> MongoServer
Parameters
- settings
- Type: MongoDB.DriverMongoServerSettings
The settings for this instance of MongoServer.
See Also