3.2.4.2.4.3 RunLimitInterval (get) (Opnum 9)

The RunLimitInterval (get) method returns the run limit interval property of the action.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_ACTION | 0x03))] HRESULT RunLimitInterval(
   [out, retval] long* minutes
 );

minutes: Pointer to a variable that upon completion contains the run limit interval of the action.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The minutes parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that minutes is not NULL.

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

The server MUST do one of the following:

  • If the run limit interval is set to -1, set minutes to the general setting's run limit interval for this type of action (SetActionRunLimitInterval (section 3.2.4.2.11.12)).

  • If the run limit interval is greater than -1, set minutes to the run limit interval.