IFsrmReportScheduler::DeleteScheduleTask method (fsrmreports.h)

[Starting with Windows Server 2012 this method is not supported; use the MSFT_FSRMScheduledTask WMI class to manage scheduled tasks.]

Deletes a task that is used to trigger a report job.

Syntax

HRESULT DeleteScheduleTask(
  [in] BSTR taskName
);

Parameters

[in] taskName

The name of a Task Scheduler task to delete. The string is limited to 230 characters.

Return value

The method returns the following return values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmreports.h (include FsrmReports.h, FsrmTlb.h)
DLL SrmSvc.dll

See also

FsrmReportScheduler

IFsrmReportScheduler