Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OSVersion.Major Property

Gets or sets the major version number of the operating system.

Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

public int Major { get; set; }
/** @property */
public int get_Major ()

/** @property */
public void set_Major (int value)

public function get Major () : int

public function set Major (value : int)

Property Value

The major version number of the operating system.

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

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
© 2015 Microsoft