IAlertDataCollector::get_AlertThresholds method (pla.h)
Retrieves or sets a list of performance counters and thresholds to monitor.
This property is read/write.
Syntax
HRESULT get_AlertThresholds(
SAFEARRAY **alerts
);
Parameters
alerts
Return value
None
Remarks
You must specify at least one alert threshold. If the counter value crosses the specified threshold value, PLA performs one or more of the following actions:
- Logs event 2031 to the Microsoft-Windows-Diagnosis-PLA/Operational event log if the IAlertDataCollector::EventLog property is true.
- Starts the task in the IAlertDataCollector::Task property, if specified.
- Triggers the data collector set specified in the IAlertDataCollector::TriggerDataCollectorSet property to run, if specified.
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 |