Partager via


WsusCollection.Remove Method (Object)

 

Applies To: Windows Server Update Services

Removes a specified element from the collection.

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

Syntax

protected void Remove(
    object value
)
protected:
void Remove(
    Object^ value
)
member Remove : 
        value:Object -> unit
Protected Sub Remove (
    value As Object
)

Parameters

  • value
    Type: System.Object

    The element to remove from the collection.

Exceptions

Exception

Condition

ArgumentNullException

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

ArgumentException

value does not exist in this collection.

Remarks

The elements that follow the removed element move up to occupy vacated spot.

See Also

WsusCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top