Share via


ComputerTargetScope.OSFamily Property

 

Applies To: Windows Server Update Services

Gets or sets the operating system family for which to search.

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

Syntax

public string OSFamily { get; set; }
public:
property String^ OSFamily {
    String^ get();
    void set(String^ value);
}
member OSFamily : string with get, set
Public Property OSFamily As String

Property Value

Type: System.String

The operating system family for which to search. "Windows" refers to Windows desktop and server operating systems (as opposed to e.g. Windows Mobile systems). A computer will be included only if its OSFamily property exactly matches this string. If it is an empty string, then no filtering will be done based on operating system family. This value defaults to String.Empty.

Remarks

[This property can be found only in the API delivered with WSUS 3.0 SP1.]

See Also

ComputerTargetScope Class
Microsoft.UpdateServices.Administration Namespace

Return to top