3.2.4.2.48.32 Task (put) (Opnum 42)

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

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x11))] HRESULT Task(
   [in] BSTR taskName
 );

taskName: Contains the task name to associate with the file management job. The maximum length of this string MUST be 230 characters.

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 not a valid value; it cannot contain the following characters: [^,\'/"|]+.

The server MUST set the task name property on the file management job to taskName or return a nonzero error code.