AutomaticUpdateApprovalRuleCollection.AddRange Method (AutomaticUpdateApprovalRuleCollection)
Applies To: Windows Server Update Services
Adds the elements of an AutomaticUpdateApprovalRuleCollection to the end of this collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void AddRange(
AutomaticUpdateApprovalRuleCollection value
)
public:
void AddRange(
AutomaticUpdateApprovalRuleCollection^ value
)
member AddRange :
value:AutomaticUpdateApprovalRuleCollection -> unit
Public Sub AddRange (
value As AutomaticUpdateApprovalRuleCollection
)
Parameters
value
Type: Microsoft.UpdateServices.Administration.AutomaticUpdateApprovalRuleCollectionThe collection of IAutomaticUpdateApprovalRule objects to add.
Exceptions
Exception
Condition
value is a null reference (Nothing in Visual Basic).
value already exists in the collection.
See Also
AddRange Overload
AutomaticUpdateApprovalRuleCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top