IFsrmReportJob::put_Task method (fsrmreports.h)

Retrieves or sets the name of the report job.

This property is read/write.

Syntax

HRESULT put_Task(
  BSTR taskName
);

Parameters

taskName

Return value

None

Remarks

Typically, the name is the same name that you specify when you call the IFsrmReportScheduler::CreateScheduleTask method to create a scheduled task that runs the report job.

Use the task name when calling the IFsrmReportManager::GetReportJob method to retrieve a report job.

Examples

For an example, see Defining a Report Job.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See also

IFsrmReportJob