MongoClient Constructor (MongoClientSettings) |
Initializes a new instance of the MongoClient class.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public MongoClient(
MongoClientSettings settings
)
Public Sub New (
settings As MongoClientSettings
)
new :
settings : MongoClientSettings -> MongoClient
Parameters
- settings
- Type: MongoDB.DriverMongoClientSettings
The settings.
See Also