3.2.4.2.34.4 NamespaceRoots (get) (Opnum 14)

The NamespaceRoots (get) method returns the namespace roots that will be scanned when the report job is generated.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT_JOB | 0x02))] HRESULT NamespaceRoots(
   [out, retval] SAFEARRAY (VARIANT)* namespaceRoots
 );

namespaceRoots: Pointer to a variable that upon completion contains the namespace roots that will be scanned when the report job is generated.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The namespaceRoots parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that namespaceRoots is not NULL.

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

The server MUST set the namespaceRoots array to the namespace roots that the report job will scan when it is generated.