3.2.4.2.11.12 SetActionRunLimitInterval (Opnum 18)
The SetActionRunLimitInterval method sets run limit intervals for actions that are configured to use the general setting's run limit interval.
-
[id(FSRM_DISPID_SETTING | 0x02)] HRESULT SetActionRunLimitInterval( [in] FsrmActionType actionType, [in] long delayTimeMinutes );
actionType: Contains the action type that this run limit interval applies to.
delayTimeMinutes: Contains the run limit interval for this action type.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The actionType parameter is not a valid type. If actionType is FsrmActionType_Unknown, the parameter MUST be considered an invalid value.
Upon receiving this message, the server MUST validate parameters:
Verify that actionType is a valid FsrmActionType (section 2.2.1.2.9) value. If actionType is FsrmActionType_Unknown, the parameter MUST be considered an invalid value. If actionType contains FsrmActionType_Email or FsrmActionType_Report, the server will return FSRM_E_NOT_SUPPORTED.
Verify that delayTimeMinutes is greater than -1.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST use delayTimeMinutes as the Run limit intervals.