IAlertDataCollector::get_Task method (pla.h)

Retrieves or sets the name of a Task Scheduler job to start each time the counter value crosses the threshold.

This property is read/write.

Syntax

HRESULT get_Task(
  BSTR *task
);

Parameters

task

Return value

None

Remarks

To specify command-line arguments for the task, see the IAlertDataCollector::TaskArguments and IAlertDataCollector::TaskUserTextArguments properties.

To start the task in the directory where PLA is collecting the data, set the task's Start in field to $(Arg1).

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

See also

IAlertDataCollector