Share via


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

Exceptions

Exception

Condition

ArgumentNullException

value is null, or one or more of the elements in value are null.

ArgumentException

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