3.2.4.2.41.6 NamespaceRoots (get) (Opnum 17)

The NamespaceRoots (get) method returns the namespace roots that the rule will apply to when classification is run.

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

namespaceRoots: Pointer to a variable that upon completion contains the namespace roots that the rule will apply to when classification 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 rule will apply to when classification is run.