Compartir a través de


IAutomaticUpdateApprovalRule.SetComputerTargetGroups Method (ComputerTargetGroupCollection)

 

Applies To: Windows Server Update Services

Sets the computer groups to which this automatic approval rule applies.

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

Syntax

void SetComputerTargetGroups(
    ComputerTargetGroupCollection targetGroups
)
void SetComputerTargetGroups(
    ComputerTargetGroupCollection^ targetGroups
)
abstract SetComputerTargetGroups : 
        targetGroups:ComputerTargetGroupCollection -> unit
Sub SetComputerTargetGroups (
    targetGroups As ComputerTargetGroupCollection
)

Parameters

Exceptions

Exception

Condition

ArgumentNullException

targetGroups cannot be null.

Remarks

To save your changes, call Save.

See Also

IAutomaticUpdateApprovalRule Interface
Microsoft.UpdateServices.Administration Namespace

Return to top