Share via


ComputerTargetCollection.Remove Method (IComputerTarget)

 

Applies To: Windows Server Update Services

Removes a client computer from the collection.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public void Remove(
    IComputerTarget value
)
public:
void Remove(
    IComputerTarget^ value
)
member Remove : 
        value:IComputerTarget -> unit
Public Sub Remove (
    value As IComputerTarget
)

Parameters

Exceptions

Exception

Condition

ArgumentException

The client computer does not exist in the collection.

ArgumentNullException

value is a null reference (Nothing in Visual Basic).

See Also

Removeā€‚Overload
ComputerTargetCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top