AutomaticUpdateApprovalRuleCollection.AddRange Method (IAutomaticUpdateApprovalRule )
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(
IAutomaticUpdateApprovalRule[] value
)
public:
void AddRange(
array<IAutomaticUpdateApprovalRule^>^ value
)
member AddRange :
value:IAutomaticUpdateApprovalRule[] -> unit
Public Sub AddRange (
value As IAutomaticUpdateApprovalRule()
)
Parameters
value
Type: Microsoft.UpdateServices.Administration.IAutomaticUpdateApprovalRule[]The array of IAutomaticUpdateApprovalRule objects to add
Exceptions
Exception
Condition
value is null, or one or more of the elements in value are null.
One or more of the elements in value are already in the collection.
See Also
AddRange Overload
AutomaticUpdateApprovalRuleCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top