IMongoClient Interface |
Namespace: MongoDB.Driver
The IMongoClient type exposes the following members.
Name | Description | |
---|---|---|
DropDatabase |
Drops the database with the specified name.
| |
DropDatabaseAsync |
Drops the database with the specified name.
| |
GetDatabase |
Gets a database.
| |
ListDatabases |
Lists the databases on the server.
| |
ListDatabasesAsync |
Lists the databases on the server.
| |
WithReadConcern |
Returns a new IMongoClient instance with a different read concern setting.
| |
WithReadPreference |
Returns a new IMongoClient instance with a different read preference setting.
| |
WithWriteConcern |
Returns a new IMongoClient instance with a different write concern setting.
|