IFsrmReportScheduler::DeleteScheduleTask method

[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

taskName [in]

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.

Return codeDescription
S_OK

Success

E_INVALIDARG

The taskName parameter cannot be NULL.

FSRM_E_NOT_FOUND

The task was not found.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

End of server support

Windows Server 2008 R2

Header

FsrmReports.h (include FsrmReports.h or FsrmTlb.h)

IDL

FsrmReports.idl

DLL

SrmSvc.dll

CLSID

CLSID_FsrmReportScheduler is defined as ea25f1b8-1b8d-4290-8ee8-e17c12c2fe20

IID

IID_IFsrmReportScheduler is defined as 6879caf9-6617-4484-8719-71c3d8645f94

See also

IFsrmReportScheduler
FsrmReportScheduler

 

 

Show:
© 2014 Microsoft