UpdateCollection.AddRange Method (UpdateCollection)
Applies To: Windows Server Update Services
Adds the members of an update collection to the end of the collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void AddRange(
UpdateCollection value
)
public:
void AddRange(
UpdateCollection^ value
)
member AddRange :
value:UpdateCollection -> unit
Public Sub AddRange (
value As UpdateCollection
)
Parameters
value
Type: Microsoft.UpdateServices.Administration.UpdateCollectionAn UpdateCollection collection of updates to add.
Exceptions
Exception
Condition
One or more members of the collection to add already exist in this collection.
value cannot be null.
See Also
AddRange Overload
UpdateCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top