Udostępnij za pośrednictwem


MongoDbObjectInfo Class

Definition

Describes a database or collection within a MongoDB data source

public class MongoDbObjectInfo
type MongoDbObjectInfo = class
Public Class MongoDbObjectInfo
Inheritance
MongoDbObjectInfo
Derived

Constructors

MongoDbObjectInfo()

Initializes a new instance of the MongoDbObjectInfo class.

MongoDbObjectInfo(Int64, Int64, Int64, String, String)

Initializes a new instance of the MongoDbObjectInfo class.

Properties

AverageDocumentSize

Gets or sets the average document size, or -1 if the average size is unknown

DataSize

Gets or sets the estimated total data size, in bytes, or -1 if the size is unknown.

DocumentCount

Gets or sets the estimated total number of documents, or -1 if the document count is unknown

Name

Gets or sets the unqualified name of the database or collection

QualifiedName

Gets or sets the qualified name of the database or collection. For a collection, this is the database-qualified name.

Methods

Validate()

Validate the object.

Applies to