次の方法で共有


MongoDbDatabaseInfo Class

Definition

Describes a database within a MongoDB data source

public class MongoDbDatabaseInfo : Microsoft.Azure.Management.DataMigration.Models.MongoDbObjectInfo
type MongoDbDatabaseInfo = class
    inherit MongoDbObjectInfo
Public Class MongoDbDatabaseInfo
Inherits MongoDbObjectInfo
Inheritance
MongoDbDatabaseInfo

Constructors

MongoDbDatabaseInfo()

Initializes a new instance of the MongoDbDatabaseInfo class.

MongoDbDatabaseInfo(Int64, Int64, Int64, String, String, IList<MongoDbCollectionInfo>, Boolean)

Initializes a new instance of the MongoDbDatabaseInfo class.

Properties

AverageDocumentSize

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

(Inherited from MongoDbObjectInfo)
Collections

Gets or sets a list of supported collections in a MongoDB database

DataSize

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

(Inherited from MongoDbObjectInfo)
DocumentCount

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

(Inherited from MongoDbObjectInfo)
Name

Gets or sets the unqualified name of the database or collection

(Inherited from MongoDbObjectInfo)
QualifiedName

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

(Inherited from MongoDbObjectInfo)
SupportsSharding

Gets or sets whether the database has sharding enabled. Note that the migration task will enable sharding on the target if necessary.

Methods

Validate()

Validate the object.

Applies to