IVMGuestOS::AdditionsVersion property
The AdditionsVersion property contains the version of the Additions installed in the guest operating system.
This property is read-only.
Syntax
HRESULT get_AdditionsVersion(
[out] BSTR *additionsVersion
);
VB |
---|
|
Property value
The version of the Additions installed in the guest operating system.
This property value is read-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
additionsVersion is NULL. |
|
The virtual machine could not be found. |
|
Additions are not installed in this virtual machine, or the virtual machine has never been started. |
|
An unexpected error occurred. |
Remarks
If the virtual machine is not running when this method is invoked, the method will attempt to read the Additions version that was cached in the configuration file the last time the virtual machine was run.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|