| Name | Description |
---|
![Public method Public method](../icons/pubmethod.gif) | DropDatabase(String, CancellationToken) |
Drops the database with the specified name.
|
![Public method Public method](../icons/pubmethod.gif) | DropDatabase(IClientSessionHandle, String, CancellationToken) |
Drops the database with the specified name.
|
![Public method Public method](../icons/pubmethod.gif) | DropDatabaseAsync(String, CancellationToken) |
Drops the database with the specified name.
|
![Public method Public method](../icons/pubmethod.gif) | DropDatabaseAsync(IClientSessionHandle, String, CancellationToken) |
Drops the database with the specified name.
|
![Public method Public method](../icons/pubmethod.gif) | GetDatabase |
Gets a database.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNames(CancellationToken) |
Returns the names of the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNames(IClientSessionHandle, CancellationToken) |
Returns the names of the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNamesAsync(CancellationToken) |
Returns the names of the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNamesAsync(IClientSessionHandle, CancellationToken) |
Returns the names of the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(IClientSessionHandle, CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(IClientSessionHandle, ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(IClientSessionHandle, CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(IClientSessionHandle, ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
|
![Public method Public method](../icons/pubmethod.gif) | StartSession |
Starts a client session.
|
![Public method Public method](../icons/pubmethod.gif) | StartSessionAsync |
Starts a client session.
|
![Public method Public method](../icons/pubmethod.gif) | WatchTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
|
![Public method Public method](../icons/pubmethod.gif) | WatchTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
|
![Public method Public method](../icons/pubmethod.gif) | WatchAsyncTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
|
![Public method Public method](../icons/pubmethod.gif) | WatchAsyncTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
|
![Public method Public method](../icons/pubmethod.gif) | WithReadConcern |
Returns a new IMongoClient instance with a different read concern setting.
|
![Public method Public method](../icons/pubmethod.gif) | WithReadPreference |
Returns a new IMongoClient instance with a different read preference setting.
|
![Public method Public method](../icons/pubmethod.gif) | WithWriteConcern |
Returns a new IMongoClient instance with a different write concern setting.
|