Click or drag to resize
MongoDatabase Properties

The MongoDatabase type exposes the following members.

Properties
  NameDescription
Public propertyCommandCollection Obsolete.
Gets the command collection for this database.
Public propertyGridFS
Gets the default GridFS instance for this database. The default GridFS instance uses default GridFS settings. See also GetGridFS if you need to use GridFS with custom settings.
Public propertyItemString Obsolete.
Gets a MongoCollection instance representing a collection on this database with a default document type of BsonDocument.
Public propertyItemString, WriteConcern Obsolete.
Gets a MongoCollection instance representing a collection on this database with a default document type of BsonDocument.
Public propertyName
Gets the name of this database.
Public propertyServer
Gets the server that contains this database.
Public propertySettings
Gets the settings being used to access this database.
Top
See Also