3.2.4.2.35.2 Name (get) (Opnum 8)

The Name (get) method returns the name of the report.

 [propget, id(FSRM_PROPERTY (FSRM_DISPID_REPORT | 0x02))] HRESULT Name(
   [out, retval] BSTR* name
 );

name: Pointer to a variable that upon completion contains the name of the report.

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

Return value/code

Description

0x80070057

E_INVALIDARG

This code is returned for the following reasons:

  • The name parameter is NULL.

  • The name parameter is not a valid value; it cannot contain the following characters: [^,\'/"|]+.

Upon receiving this message, the server MUST validate parameters:

  • Verify that name is not NULL.

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

The server MUST set name to the report Report.Name.