MongoDBProgress Class
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.
Base class for MongoDB migration outputs Please note MongoDBProgress is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MongoDBDatabaseProgress, MongoDBMigrationProgress and MongoDBCollectionProgress.
public abstract class MongoDBProgress
type MongoDBProgress = class
Public MustInherit Class MongoDBProgress
- Inheritance
-
MongoDBProgress
- Derived
Constructors
MongoDBProgress(Int64, Int64, String, IReadOnlyDictionary<String,MongoDBError>, Int64, Int64, MongoDBMigrationState, Int64, Int64) |
Initializes a new instance of MongoDBProgress. |
Properties
BytesCopied |
The number of document bytes copied during the Copying stage. |
DocumentsCopied |
The number of documents copied during the Copying stage. |
ElapsedTime |
The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format). |
Errors |
The errors and warnings that have occurred for the current object. The keys are the error codes. |
EventsPending |
The number of oplog events awaiting replay. |
EventsReplayed |
The number of oplog events replayed so far. |
LastEventOn |
The timestamp of the last oplog event received, or null if no oplog event has been received yet. |
LastReplayOn |
The timestamp of the last oplog event replayed, or null if no oplog event has been replayed yet. |
Name |
The name of the progress object. For a collection, this is the unqualified collection name. For a database, this is the database name. For the overall migration, this is null. |
QualifiedName |
The qualified name of the progress object. For a collection, this is the database-qualified name. For a database, this is the database name. For the overall migration, this is null. |
State |
Gets the state. |
TotalBytes |
The total number of document bytes on the source at the beginning of the Copying stage, or -1 if the total size was unknown. |
TotalDocuments |
The total number of documents on the source at the beginning of the Copying stage, or -1 if the total count was unknown. |