AutomaticUpdateApprovalRuleCollection.Remove Method (IAutomaticUpdateApprovalRule)

 

Applies To: Windows Server Update Services

Removes the specified IAutomaticUpdateApprovalRule from the AutomaticUpdateApprovalRuleCollection.

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

Syntax

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

Parameters

Exceptions

Exception

Condition

ArgumentNullException

value does not exist in this collection.

ArgumentException

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

Remarks

The next IAutomaticUpdateApprovalRule following the removed element moves up to occupy vacated spot.

See Also

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

Return to top