3.2.4.2.48.45 DeleteNotification (Opnum 55)

The DeleteNotification method deletes a notification period from the file management job's list of notification periods.

 [id(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x05)] HRESULT DeleteNotification(
   [in] long days
 );

days: Contains the value of the notification period to delete from the file management job.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80045301

FSRM_E_NOT_FOUND

The specified notification could not be found.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST perform the following steps in sequence or return a nonzero error code as follows:

  • Find the Notification period, if any, in the file management job's list of notification periods whose Notification interval is equivalent to days. For the remainder of these steps, this will be referred to as the affected notification period.

  • If there is no affected notification period, the server MUST return FSRM_E_NOT_FOUND.

  • Remove the affected notification period from the file management job's list of notification periods.