ComputerTargetScope.ComputerTargetGroups Property

 

Applies To: Windows Server Update Services

Gets the list of target groups to search.

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

Syntax

public ComputerTargetGroupCollection ComputerTargetGroups { get; }
public:
property ComputerTargetGroupCollection^ ComputerTargetGroups {
    ComputerTargetGroupCollection^ get();
}
member ComputerTargetGroups : ComputerTargetGroupCollection with get
Public ReadOnly Property ComputerTargetGroups As ComputerTargetGroupCollection

Property Value

Type: Microsoft.UpdateServices.Administration.ComputerTargetGroupCollection

The list of target groups to search. If IncludeSubgroups is false, then a computer will be included only if it is a direct member of at least one group. If IncludeSubgroups is true, then a computer will be included if it is a member of at least one group or a descendant group. If the collection is empty, then no filtering will be done.

Remarks

The default is an empty collection.

See Also

ComputerTargetScope Class
Microsoft.UpdateServices.Administration Namespace

Return to top