3.2.4.2.36.4 DeleteScheduleTask (Opnum 10)

The DeleteScheduleTask method deletes the specified task so that it no longer triggers the generation of a File Server Resource Manager Protocol report job.

 [id(FSRM_DISPID_REPORT_SCHEDULER | 0x04)] HRESULT DeleteScheduleTask(
   [in] BSTR taskName
 );

taskName: Contains the name of the task to delete.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80045301

FSRM_E_NOT_FOUND

The specified task could not be found.

0x80070057

E_INVALIDARG

The taskName parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that taskName is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST delete the specified task.