다음을 통해 공유


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