<div class="content" name="VerifyNamespaces" uuid="f3db704e-f0a0-4fe6-adf7-ce3606dd7988"><p>The VerifyNamespaces method checks that all namespaces
passed in exist and are valid <a href="809180e0-571e-40a0-8067-ffe89cbdcc40#gt_2cd71385-2d9c-4ab8-bf4a-7b258816d613" data-linktype="relative-path">paths</a>.</p><dl>
<dd>
<div><pre> [id(FSRM_DISPID_REPORT_SCHEDULER | 0x01)] HRESULT VerifyNamespaces(
   [in] VARIANT* namespacesSafeArray
 );
</pre></div>
</dd></dl><p><b>namespacesSafeArray: </b>Pointer to a variable that
contains a <a href="../ms-oaut/a6a540af-38ac-48be-bd40-92e2c01e9aa6" data-linktype="relative-path">VARIANT</a>
structure, which contains a <a href="../ms-oaut/04e72b3f-5731-4508-9bb4-de29fbd0f781" data-linktype="relative-path">SAFEARRAY</a>
of VARIANT structures. The VARIANT structures contained in the SAFEARRAY MUST
be <a href="../ms-dtyp/692a42a9-06ce-4394-b9bc-5d2a50440168" data-linktype="relative-path">BSTR</a>
string values, each representing a local directory path that needs to be verified
as supported by the File Server Resource Manager Protocol storage reports.</p><p><b>Return Values: </b>The method MUST return zero on
success, or a nonzero error code on failure.</p><table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0x80045304 FSRM_E_PATH_NOT_FOUND</td>
  <td>The specified path could not be found.</td>
 </tr><tr>
  <td>0x80045306 FSRM_E_INVALID_PATH</td>
  <td>The supplied path is not valid.</td>
 </tr><tr>
  <td>0x80045315 FSRM_E_VOLUME_UNSUPPORTED</td>
  <td>The volume is not an NTFS volume.</td>
 </tr><tr>
  <td>0x8004531F FSRM_E_FILE_SYSTEM_CORRUPT</td>
  <td>The file system is corrupt.</td>
 </tr><tr>
  <td>0x80070057 E_INVALIDARG</td>
  <td>This code is returned for the following reasons:  The namespacesSafeArray parameter is NULL.  The namespacesSafeArray parameter does not contain a variant array of BSTRs.</td>
 </tr></tbody></table><p>Upon receiving this message, the server MUST validate
parameters:</p><ul><li><p><span><span> 
</span></span>Verify that <i>namespacesSafeArray</i> is not NULL.</p>
</li></ul><p>If any validation fails, the server MUST terminate
processing and return a nonzero error code.</p><p>The server MUST verify that each local directory path
contained in <i>namespacesSafeArray</i> is valid and supported for the File
Server Resource Manager Protocol storage reports and return zero or return a
nonzero error code on failure.</p></div>