ClusVersion.MajorVersion property

[The MajorVersion property is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Returns the integer portion of the version number for the operating system installed on the local node.

This property is read-only.

Syntax

ClusVersion.MajorVersion

Property value

Long that receives the major version.

Remarks

The MajorVersion and ClusVersion.MinorVersion properties together form a complete Windows version number.

Version = X.Y
MajorVersion = X
MinorVersion = Y

All ClusVersion properties are static values corresponding the state of the cluster when the ClusVersion object was first created. To obtain the latest version information from the cluster, create a new ClusVersion object.

Examples

See ClusVersion for an example.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header
MsClus.h
IDL
MsClus.idl
Type library
MsClus.tlb
DLL
MsClus.dll
IID
IID_ISClusVersion is defined as F2E60716-2631-11D1-89F1-00A0C90D061E

See also

ClusVersion

ClusVersion.CSDVersion

ClusVersion.MinorVersion