Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the target groups to which this automatic approval rule applies.
public void SetComputerTargetGroups(ComputerTargetGroupCollectiontargetGroups);
Public Sub SetComputerTargetGroups( _
ByVal targetGroups As ComputerTargetGroupCollection _
)
Implements IAutomaticUpdateApprovalRule.SetComputerTargetGroups
Parameters
- targetGroups
A ComputerTargetGroupCollection collection that contains the target groups to which this automatic approval rule applies.
Return Value
This method does not return a value.
Exceptions
| Exception type | Condition |
|---|---|
| ArgumentNullException | targetGroups cannot be null. |
Remarks
To save your changes, call IAutomaticUpdateApprovalRule.Save.
Requirements
| Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
| Namespace | Defined in Microsoft.UpdateServices.Administration. |
| Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
| .NET Framework | Requires .NET Framework 1.1. |