3.2.4.2.34.3 Task (put) (Opnum 13)

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

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

taskName: Contains the task name to associate with the report job object. 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 is not a valid value; it cannot contain the following characters: [^,\'/"|]+.

The server MUST set the task name property on the report job object or return a nonzero error code.