Share via


IComputerInfo.OSMajorNumber Property

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

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
<DispIdAttribute(1610678275)> _
ReadOnly Property OSMajorNumber As UInteger
[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.

Remarks

The major version number signifies the operating system version.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

IComputerInfo Interface
IComputerInfo Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace