IVMVirtualServer::Version property
The Version property contains the version of this instance of Virtual Server.
This property is read-only.
Syntax
HRESULT get_Version(
[out] BSTR *version
);
VB |
---|
|
Property value
The version of this instance of Virtual Server.
This property value is read-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
version is NULL. |
|
An unexpected error occurred. |
Remarks
The Virtual Server version information is returned as a string value with the following format:
v**.s.bbb.**t ee
Where v is the major version number, s is the minor version number, bbb is the build number, t is the build type (0 = release build), and ee is the server edition (SE = Standard Edition, EE = Enterprise Edition).
Examples
The following example displays the Version property value of the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
Wscript.Echo "Version: " & objVS.Version
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|