3.2.4.2.34.5 NamespaceRoots (put) (Opnum 15)
The NamespaceRoots (put) method sets the namespace roots that the report job will scan when the report job is generated.
-
[propput, id(FSRM_PROPERTY (FSRM_DISPID_REPORT_JOB | 0x02))] HRESULT NamespaceRoots( [in] SAFEARRAY (VARIANT) namespaceRoots );
namespaceRoots: Contains the array of 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
This code is returned for the following reasons:
The namespaceRoots parameter is empty.
One or more of the variants is not a string.
Upon receiving this message, the server MUST validate parameters:
Verify that namespaceRoots contains valid local directories.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST set namespaceRoots to the namespace roots of the report job object.