IVMHardDisk::HostDriveIdentifier property
The HostDriveIdentifier property contains a string that identifies the host drive linked to by this virtual hard disk image.
This property is read-only.
Syntax
HRESULT get_HostDriveIdentifier(
[out] BSTR *hostDriveIdentifier
);
VB |
---|
|
Property value
The host drive identifier.
This property value is read-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
The parameter is NULL. |
|
The hard disk image type is invalid for this operation. |
|
The current virtual hard disk could not be located. |
|
The host drive linked to by this virtual hard disk image could not be found. |
|
The current hard disk image could not be opened. |
|
An error occurred while attempting to access the current hard disk image file. |
|
An unexpected error occurred. |
Remarks
This property should be called only on a host drive virtual hard disk image.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|