IDataCollectorCollection::AddRange method (pla.h)
Adds one or more data collectors to the collection.
Syntax
HRESULT AddRange(
[in] IDataCollectorCollection *collectors
);
Parameters
[in] collectors
An IDataCollectorCollection interface to a collection of one or more data collectors to add to this collection.
Return value
Returns S_OK if successful. The following table shows a possible error value.
Return code/value | Description |
---|---|
|
The current configuration for the data collector set requires that it contain exactly one data collector. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | pla.h |
DLL | Pla.dll |