IDataCollectorSet::Task property

Retrieves or sets the name of a Task Scheduler job to start each time the data collector set stops, including between segments.

This property is read/write.

Syntax


HRESULT put_Task(
   BSTR Task
);

HRESULT get_Task(
   BSTR *pTask
);

Property value

The name of a Task Scheduler job to start each time the data collector set stops, including between segments.

Error codes

The property returns S_OK if successful.

Remarks

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

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

DLL

Pla.dll

See also

IDataCollectorSet
IDataCollectorSet::TaskArguments
IDataCollectorSet::TaskUserTextArguments

 

 

Community Additions

ADD
Show: