Click or drag to resize
IMongoClient Interface
The client interface to MongoDB.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.3.0
Syntax
public interface IMongoClient

The IMongoClient type exposes the following members.

Properties
  NameDescription
Public propertyCluster
Gets the cluster.
Public propertySettings
Gets the settings.
Top
Methods
  NameDescription
Public methodDropDatabase
Drops the database with the specified name.
Public methodDropDatabaseAsync
Drops the database with the specified name.
Public methodGetDatabase
Gets a database.
Public methodListDatabases
Lists the databases on the server.
Public methodListDatabasesAsync
Lists the databases on the server.
Top
Remarks
This interface is not guaranteed to remain stable. Implementors should use MongoClientBase.
See Also