ComputerTargetGroupCollection.Remove(IComputerTargetGroup)
Removes the target group from the collection.
public void Remove(IComputerTargetGroupvalue);
Public Sub Remove( _
ByVal value As IComputerTargetGroup _
)
Parameters
- value
An IComputerTargetGroup of the target group to remove.
Return Value
This method does not return a value.
Exceptions
Exception type | Condition |
---|---|
System.ArgumentException | The target group does not exist in the collection. |
System.ArgumentNullException | value cannot be null. |
Remarks
When you remove the group, the clients in the group are moved to the Unassigned Computers group.
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. |