共用方式為


FsrmSettingClass.SetActionRunLimitInterval Method (_FsrmActionType, Int32)

 

Sets the time that an action that uses the global run limit interval must wait before the action is run again.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

public virtual void SetActionRunLimitInterval(
    _FsrmActionType ActionType,
    int delayTimeMinutes
)
public:
virtual void SetActionRunLimitInterval(
    _FsrmActionType ActionType,
    int delayTimeMinutes
)
abstract SetActionRunLimitInterval : 
        ActionType:_FsrmActionType *
        delayTimeMinutes:int -> unit
override SetActionRunLimitInterval : 
        ActionType:_FsrmActionType *
        delayTimeMinutes:int -> unit
Public Overridable Sub SetActionRunLimitInterval (
    ActionType As _FsrmActionType,
    delayTimeMinutes As Integer
)

Parameters

  • delayTimeMinutes
    Type: System.Int32

    The run limit interval, in minutes, to use for the action. The default is 60 minutes.

Implements

IFsrmSetting.SetActionRunLimitInterval(_FsrmActionType, Int32)

Remarks

Applies to actions that have the 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.

See Also

FsrmSetting
IFsrmSetting
FsrmSettingClass Class
Microsoft.Storage Namespace

Return to top