Partager via


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

Exceptions

Exception

Condition

ArgumentException

value does not exist in the collection.

ArgumentNullException

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