IFsrmAction::RunLimitInterval property

[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 put_RunLimitInterval(
  [in]  long minutes
);

HRESULT get_RunLimitInterval(
  [out] long *minutes
);

Property value

The run limit interval, in minutes, to use for the action. For possible values, see Remarks.

Error codes

The method returns the following return values.

S_OK

Success.

E_INVALIDARG

The minutes parameter is NULL or is not a valid account type.

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.

IntervalDescription

–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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmAction is defined as:
  • 6cd6408a-ae60-463b-9ef1-e117534d69dc
  • 6cd6408a-ae60-463b-9ef1-e117534d69dc

See also

IFsrmAction

 

 

Show: