IFsrmSetting::SetActionRunLimitInterval method (fsrm.h)
Sets the time that an action that uses the global run limit interval must wait before the action is run again.
Syntax
HRESULT SetActionRunLimitInterval(
[in] FsrmActionType actionType,
[in] long delayTimeMinutes
);
Parameters
[in] actionType
The action type to limit. For possible values, see the FsrmActionType enumeration.
[in] delayTimeMinutes
The run limit interval, in minutes, to use for the action. The default is 60 minutes.
Return value
The method returns the following return values.
Remarks
Applies to actions that have the IFsrmAction::RunLimitInterval property set to –1.
This property specifies the interval that should occur before the action is run again if the global run limit interval is used. For example, if the interval has expired since the action last ran, the server will run the action again in response to an event; otherwise, the server cannot run the action again.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrm.h (include FsrmQuota.h, FsrmReports.h, FsrmScreen.h) |
DLL | SrmSvc.dll |