Share via


UpdateApprovalScope.ComputerTargetGroups Property

 

Applies To: Windows Server Update Services

Gets the list of target groups to search in for install approvals.

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

Returns ComputerTargetGroupCollection.

Remarks

This property is a list of target groups to search for install approvals. This list is restricted to specifying one target group.

An update will be included only if it is approved for install to this target group or any of this target group's parent target groups. This should be used when generating a compliance style report for a given target group. If the list is empty, then no filtering will be done based on the above criteria.

See Also

UpdateApprovalScope Class
Microsoft.UpdateServices.Administration Namespace

Return to top