ComputerTargetGroupCollection.Remove(IComputerTargetGroup)

Removes the target group from the collection.

public void Remove(
  IComputerTargetGroup value
);
Public Sub Remove( _
  ByVal value As IComputerTargetGroup _
)

Parameters

Return Values

This method has no return values.

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.

See Also

IComputerTargetGroup.Delete