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
value
Type: Microsoft.UpdateServices.Administration.IAutomaticUpdateApprovalRuleThe IAutomaticUpdateApprovalRule to remove from the AutomaticUpdateApprovalRuleCollection.
Exceptions
Exception
Condition
value does not exist in this collection.
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