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)
Syntax
public void AddRange(
IComputerTarget[] value
)
public:
void AddRange(
array<IComputerTarget^>^ value
)
member AddRange :
value:IComputerTarget[] -> unit
Public Sub AddRange (
value As IComputerTarget()
)
Parameters
value
Type: Microsoft.UpdateServices.Administration.IComputerTarget[]The array of IComputers to add.
Exceptions
Exception
Condition
One or more elements of the array already exist in this collection.
value or elements of the array cannot be null.
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