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
VMVirtualServer.Version( _
  ByRef version _
)

Property value

The version of this instance of Virtual Server.

This property value is read-only.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
version is NULL.
DISP_E_EXCEPTION
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
VsComInterfaces.h

See also

IVMVirtualServer