ComputerTargetCollection.AddRange Method (ComputerTargetCollection)
Applies To: Windows Server Update Services
Adds the members of a collection of computers to the end of this collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public void AddRange(
ComputerTargetCollection value
)
public:
void AddRange(
ComputerTargetCollection^ value
)
member AddRange :
value:ComputerTargetCollection -> unit
Public Sub AddRange (
value As ComputerTargetCollection
)
Parameters
value
Type: Microsoft.UpdateServices.Administration.ComputerTargetCollectionThe collection of IComputers to add.
Exceptions
Exception
Condition
One or more members of the collection to add already exist in this collection. value contains elements which are already in the collection.
value cannot be null reference.
Remarks
To add a single client computer to this collection, call Add.
See Also
AddRange
GetComputerTargets
AddRange Overload
ComputerTargetCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top