MongoDbDatabaseInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
MongoDbDatabaseInfo()
Initializes a new instance of the MongoDbDatabaseInfo class.
public MongoDbDatabaseInfo ();
Public Sub New ()
Applies to
MongoDbDatabaseInfo(Int64, Int64, Int64, String, String, IList<MongoDbCollectionInfo>, Boolean)
Initializes a new instance of the MongoDbDatabaseInfo class.
public MongoDbDatabaseInfo (long averageDocumentSize, long dataSize, long documentCount, string name, string qualifiedName, System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionInfo> collections, bool supportsSharding);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseInfo : int64 * int64 * int64 * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionInfo> * bool -> Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseInfo
Public Sub New (averageDocumentSize As Long, dataSize As Long, documentCount As Long, name As String, qualifiedName As String, collections As IList(Of MongoDbCollectionInfo), supportsSharding As Boolean)
Parameters
- averageDocumentSize
- Int64
The average document size, or -1 if the average size is unknown
- dataSize
- Int64
The estimated total data size, in bytes, or -1 if the size is unknown.
- documentCount
- Int64
The estimated total number of documents, or -1 if the document count is unknown
- name
- String
The unqualified name of the database or collection
- qualifiedName
- String
The qualified name of the database or collection. For a collection, this is the database-qualified name.
- collections
- IList<MongoDbCollectionInfo>
A list of supported collections in a MongoDB database
- supportsSharding
- Boolean
Whether the database has sharding enabled. Note that the migration task will enable sharding on the target if necessary.