ClientInfo.OSMajorVersion Property

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

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

Usage

Syntax

'Declaration
Public Property OSMajorVersion As Integer
public int OSMajorVersion { get; set; }
public:
property int OSMajorVersion {
    int get ();
    void set (int value);
}
/** @property */
public int get_OSMajorVersion ()

/** @property */
public void set_OSMajorVersion (int value)
public function get OSMajorVersion () : int

public function set OSMajorVersion (value : int)

Property Value

The major version number of the client operating system.

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

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2

See Also

Reference

ClientInfo Class
ClientInfo Members
Microsoft.UpdateServices.ClientServicing Namespace