IFsrmAction::get_RunLimitInterval method (fsrm.h)
[This property is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAction, MSFT_FSRMFMJAction, and MSFT_FSRMFMJNotificationAction classes.]
Retrieves or sets the interval that must expire before the action is run again.
This property is read/write.
Syntax
HRESULT get_RunLimitInterval(
long *minutes
);
Parameters
minutes
Return value
None
Remarks
This property specifies the interval that should occur before the action is run again. 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.
You can specify the interval as follows.
Interval | Description |
---|---|
–1 | Use the global run-time limit. For a description, see the IFsrmSetting::SetActionRunLimitInterval method. |
0 | Run the action for each quota or file screen event. |
>0 | If an event occurs during this interval, do not run the action again. The interval timer starts when the action begins. When the interval expires, the timer is reset. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrm.h (include FsrmQuota.h, FsrmScreen.h) |
DLL | SrmSvc.dll |