Constructor MongoDatabase
MongoDatabase(MongoServer, string, MongoDatabaseSettings)
Creates a new instance of MongoDatabase. Normally you would call one of the indexers or GetDatabase methods of MongoServer instead.
[Obsolete("User server.GetDatabase() instead.")]
public MongoDatabase(MongoServer server, string name, MongoDatabaseSettings settings)
Parameters
serverMongoServerThe server that contains this database.
namestringThe name of the database.
settingsMongoDatabaseSettingsThe settings to use to access this database.