IVMHardDisk::Parent property
The Parent property contains the IVMHardDisk object associated with the parent hard disk image.
This property is read/write.
Syntax
HRESULT put_Parent(
[in] IVMHardDisk *parent
);
HRESULT get_Parent(
[out] IVMHardDisk **parent
);
VB |
---|
|
Property value
The VMHardDisk object associated with the parent hard disk image.
This property value is read/write.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The parent parameter is NULL. |
|
This is not a differencing hard disk, so it has no parent. |
|
The system could not find the parent virtual hard disk file. |
|
The system could not find the path to the parent virtual hard disk file. |
|
The preferences for the current hard disk image could not be read. |
|
An error occurred while attempting to open the current hard disk image file. |
|
An error occurred while attempting to access the current hard disk image file. |
|
The virtual hard disk image located by the parameter parent does not have the same ID as the child disk image. Make sure the parent virtual hard disk image located by parent is the same image used to create the differencing virtual hard disk image. |
|
An unexpected error occurred. |
Remarks
This property is only valid with differencing hard disk images.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|