Windows Dev Center

IFsrmSetting::SetActionRunLimitInterval method

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,
  [inlong           delayTimeMinutes
);

Parameters

actionType [in]

The action type to limit. For possible values, see the FsrmActionType enumeration.

delayTimeMinutes [in]

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.

Return codeDescription
S_OK

Success

E_INVALIDARG

The actionType parameter is not valid.

 

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

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

DLL

SrmSvc.dll

IID

IID_IFsrmSetting is defined as f411d4fd-14be-4260-8c40-03b7c95e608a

See also

IFsrmSetting
FsrmSetting

 

 

Show:
© 2015 Microsoft