IVMHardDisk::Merge method
The Merge method merges a differencing hard disk image with its parent disk image.
Syntax
HRESULT Merge(
[out] IVMTask **mergeTask
);
Parameters
-
mergeTask [out]
-
The task which is used to track the completion of the merging process.
Return value
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
The parameter mergeTask is NULL. |
|
The virtual hard disk image referenced by this IVMHardDisk object is in use or the parent of this virtual hard disk image is in use. Or, these hard disk images could be part of a saved state. |
|
The virtual hard disk image referenced by this IVMHardDisk object must be a differencing disk image. |
|
The parent of virtual hard disk image referenced by this IVMHardDisk object is marked as read only. |
|
The parent of the virtual hard disk referenced by this IVMHardDisk object does not exist. |
|
The virtual hard disk image cannot be merged because the application is shutting down. |
|
An unexpected error occurred. |
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|