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
[Newtonsoft.Json.JsonObject("MongoDbProgress")]
public class MongoDbProgress
[<Newtonsoft.Json.JsonObject("MongoDbProgress")>]
type MongoDbProgress = class
Public Class MongoDbProgress
- Inheritance
-
MongoDbProgress
- Derived
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
MongoDbProgress() |
Initializes a new instance of the MongoDbProgress class. |
MongoDbProgress(Int64, Int64, String, IDictionary<String,MongoDbError>, Int64, Int64, String, Int64, Int64, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String) |
Initializes a new instance of the MongoDbProgress class. |
Properties
BytesCopied |
Gets or sets the number of document bytes copied during the Copying stage |
DocumentsCopied |
Gets or sets the number of documents copied during the Copying stage |
ElapsedTime |
Gets or sets the elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format) |
Errors |
Gets or sets the errors and warnings that have occurred for the current object. The keys are the error codes. |
EventsPending |
Gets or sets the number of oplog events awaiting replay |
EventsReplayed |
Gets or sets the number of oplog events replayed so far |
LastEventTime |
Gets or sets the timestamp of the last oplog event received, or null if no oplog event has been received yet |
LastReplayTime |
Gets or sets the timestamp of the last oplog event replayed, or null if no oplog event has been replayed yet |
Name |
Gets or sets 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 |
Gets or sets 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 or sets Possible values include: 'NotStarted', 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', 'Failed' |
TotalBytes |
Gets or sets 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 |
Gets or sets the total number of documents on the source at the beginning of the Copying stage, or -1 if the total count was unknown |
Methods
Validate() |
Validate the object. |