GetRollbackProgress method of the WT_Disk class
Retrieves the rollback progress information for the disk.
Windows Server 2012 R2: This method is deprecated. Use GetAsyncOperationProgress instead.
Syntax
void GetRollbackProgress(
[out] uint32 ProgressPercent,
[out] sint32 RollbackLastError
);
Parameters
-
ProgressPercent [out]
-
Progress percentage (0-100).
The value of the ProgressPercent parameter is only valid when the RollbackLastError parameter is ERROR_SUCCESS. At the start of the rollback operation, this parameter is set to zero and the Status property of the WT_Disk object is set to Reverting. When the rollback operation is complete, this parameter is set to 100 and Status is set to set to Ide or InUse.
-
RollbackLastError [out]
-
Last error code of the rollback operation.
If there is an error during rollback, the error code is returned in the RollbackLastError parameter. This value can be used to determine if the value of the RollbackProgress parameter is valid, or to check the status of the rollback operation after the initial call to this method. If the value of RollbackProgress is 100 and the value of RollbackLastError is ERROR_SUCCESS, the rollback has completed successfully.
Return value
This method does not return a value.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Wmi |
MOF |
|
DLL |
|