<div class="content" name="DeleteNotification" uuid="42e26358-e72b-4e34-864b-6c7faac2ec5a"><p>The DeleteNotification method deletes a <b>notification
period</b> from the file management job&#39;s list of <b>notification periods</b>.</p><dl>
<dd>
<div><pre> [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x05)] HRESULT DeleteNotification(
   [in] long days
 );
</pre></div>
</dd></dl><p><b>days: </b>Contains the value of the <b>notification
period</b> to delete from the file management job.</p><p><b>Return Values: </b>The method MUST return zero on
success, or a nonzero error code on failure.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0x80045301 FSRM_E_NOT_FOUND</td>
  <td>The specified notification could not be found.</td>
 </tr></tbody></table>
</dd></dl><p>If any validation fails, the server MUST terminate
processing and return a nonzero error code.</p><p>The server MUST perform the following steps in sequence or
return a nonzero error code as follows:</p><ul><li><p><span><span> 
</span></span>Find the <b>Notification period</b>, if any, in the file
management job&#39;s list of <b>notification periods</b> whose <b>Notification
interval</b> is equivalent to <i>days</i>. For the remainder of these steps,
this will be referred to as the <b>affected notification period</b>.</p>
</li><li><p><span><span> 
</span></span>If there is no <b>affected notification period</b>, the server
MUST return FSRM_E_NOT_FOUND.</p>
</li><li><p><span><span> 
</span></span>Remove the <b>affected notification period</b> from the file
management job&#39;s list of <b>notification periods</b>.</p>
</li></ul></div>