ComputerTargetGroupCollection.Remove Method (IComputerTargetGroup)
Applies To: Windows Server Update Services
Removes the IComputerTargetGroup from the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void Remove(
IComputerTargetGroup value
)
public:
void Remove(
IComputerTargetGroup^ value
)
member Remove :
value:IComputerTargetGroup -> unit
Public Sub Remove (
value As IComputerTargetGroup
)
Parameters
value
Type: Microsoft.UpdateServices.Administration.IComputerTargetGroupThe IComputerTargetGroup to remove from the collection.
Exceptions
Exception
Condition
value does not exist in the collection.
value cannot be a null reference (Nothing in Visual Basic).
Remarks
When you remove the group, the clients in the group are moved to the Unassigned Computers group.
See Also
Remove Overload
ComputerTargetGroupCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top