Partager via


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

Exceptions

Exception

Condition

ArgumentNullException

value is a null reference (Nothing in Visual Basic).

ArgumentException

value already exists in the collection.

See Also

AddRange Overload
AutomaticUpdateApprovalRuleCollection Class
Microsoft.UpdateServices.Administration Namespace

Return to top