ComputerTargetCollection.AddRange Method (IComputerTarget )
Applies To: Windows Server Update Services
Adds the elements of a ComputerTarget array to the end of this collection.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
public void AddRange(
IComputerTarget[] value
)
public:
void AddRange(
array<IComputerTarget^>^ value
)
member AddRange :
value:IComputerTarget[] -> unit
Public Sub AddRange (
value As IComputerTarget()
)
value
Type: Microsoft.UpdateServices.Administration.IComputerTarget[]The array of IComputers to add.
Exception
Condition
One or more elements of the array already exist in this collection.
value or elements of the array cannot be null.
To add a single client computer to this collection, call Add.
AddRange
GetComputerTargets
AddRange Overload
ComputerTargetCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top