ClientInfo.OSFamily Property

Gets or sets the family of the client operating system.

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

Usage

Syntax

'Declaration
Public Property OSFamily As String
public string OSFamily { get; set; }
public:
property String^ OSFamily {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_OSFamily ()

/** @property */
public void set_OSFamily (String value)
public function get OSFamily () : String

public function set OSFamily (value : String)

Property Value

The family of the client operating system.

Exceptions

Exception type Condition
ArgumentNullException

The value is null.

ArgumentOutOfRangeException

The value is too long (greater than 256 characters).

ArgumentException

The value contains illegal characters.

Remarks

For a client running Microsoft Windows, this property should be set to "Windows". The maximum length of this string is 256 characters.

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