3.2.4.2.48.31 Task (get) (Opnum 41)

The Task (get) method returns the task name that is associated with the file management job.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x11))] HRESULT Task(
   [out, retval] BSTR* taskName
 );

taskName: Pointer to a variable that upon completion contains the task name that is associated with the file management job.

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

Return value/code

Description

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 set taskName to the task name associated with the file management job.