3.2.4.2.48.4 NamespaceRoots (get) (Opnum 14)
The NamespaceRoots (get) method returns the namespace roots that will be scanned when the file management job is run.
-
[propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_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 file management job is run.
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 NULL.
One or more of the variants are not a string.
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 file management job will scan when it is run.