IVMVirtualMachine::MergeUndoDisks method
The MergeUndoDisks method merges the virtual undo disks.
Syntax
HRESULT MergeUndoDisks(
[out] IVMTask **undoMergeTask
);
Parameters
-
undoMergeTask [out]
-
Retrieves the task which is used to track the creation of the image.
Return value
Return code | Description |
---|---|
|
The operation was successful. |
|
The undoMergeTask parameter is NULL. |
|
Unknown configuration. |
|
Cannot merge disks while the virtual machine is running. |
|
An unexpected error has occurred. |
Remarks
MergeUndoDisks cannot be called while the virtual machine is still running. Use IVMVirtualMachine::Save to save the state of the virtual machine before calling MergeUndoDisks, or IVMVirtualMachine::TurnOff to turn off the virtual machine without saving its current state beforehand.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|