The client interface to MongoDB.
Namespace: MongoDB.DriverMongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntaxpublic interface IMongoClient
Public Interface IMongoClient
type IMongoClient = interface end
The IMongoClient type exposes the following members.
Properties Methods Name Description DropDatabase(String, CancellationToken)Drops the database with the specified name.
DropDatabase(IClientSessionHandle, String, CancellationToken)Drops the database with the specified name.
DropDatabaseAsync(String, CancellationToken)Drops the database with the specified name.
DropDatabaseAsync(IClientSessionHandle, String, CancellationToken)Drops the database with the specified name.
GetDatabaseGets a database.
ListDatabaseNames(CancellationToken)Returns the names of the databases on the server.
ListDatabaseNames(IClientSessionHandle, CancellationToken)Returns the names of the databases on the server.
ListDatabaseNamesAsync(CancellationToken)Returns the names of the databases on the server.
ListDatabaseNamesAsync(IClientSessionHandle, CancellationToken)Returns the names of the databases on the server.
ListDatabases(CancellationToken)Lists the databases on the server.
ListDatabases(IClientSessionHandle, CancellationToken)Lists the databases on the server.
ListDatabases(ListDatabasesOptions, CancellationToken)Lists the databases on the server.
ListDatabases(IClientSessionHandle, ListDatabasesOptions, CancellationToken)Lists the databases on the server.
ListDatabasesAsync(CancellationToken)Lists the databases on the server.
ListDatabasesAsync(IClientSessionHandle, CancellationToken)Lists the databases on the server.
ListDatabasesAsync(ListDatabasesOptions, CancellationToken)Lists the databases on the server.
ListDatabasesAsync(IClientSessionHandle, ListDatabasesOptions, CancellationToken)Lists the databases on the server.
StartSessionStarts a client session.
StartSessionAsyncStarts a client session.
WatchTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken)Watches changes on all collections in all databases.
WatchTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken)Watches changes on all collections in all databases.
WatchAsyncTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken)Watches changes on all collections in all databases.
WatchAsyncTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken)Watches changes on all collections in all databases.
WithReadConcernReturns a new IMongoClient instance with a different read concern setting.
WithReadPreferenceReturns a new IMongoClient instance with a different read preference setting.
WithWriteConcernReturns a new IMongoClient instance with a different write concern setting.
Top Extension Methods RemarksThis interface is not guaranteed to remain stable. Implementors should use
MongoClientBase.
See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4