Share via


IComputerInfo.OSMajorNumber Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the major version number of the operating system running on the target computer.

Namespace: WHSInfoIF
Assembly: Interop.WHSInfoIF (in interop.whsinfoif.dll)

Syntax

'Declaration
<DispIdAttribute(1610678275)> _
ReadOnly Property OSMajorNumber As UInteger
'Usage
Dim instance As IComputerInfo
Dim value As UInteger

value = instance.OSMajorNumber
[DispIdAttribute(1610678275)] 
uint OSMajorNumber { get; }
[DispIdAttribute(1610678275)] 
property unsigned int OSMajorNumber {
    unsigned int get ();
}
/** @property */
UInt32 get_OSMajorNumber ()
function get OSMajorNumber () : uint

Property Value

An unsigned integer that indicates the major version number of the operating system running on the target computer. The major version number signifies the operating system version.

Platforms

Windows Home Server

Windows Home Server

See Also

Reference

IComputerInfo Interface
IComputerInfo Members
WHSInfoIF Namespace

Footer image

© 2007 Microsoft Corporation. All rights reserved.