Condividi tramite


IFsrmAction.RunLimitInterval Property

 

Retrieves or sets the interval that must expire before the action is run again.

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

Syntax

int RunLimitInterval { get; set; }
property int RunLimitInterval {
    int get();
    void set(int value);
}
abstract RunLimitInterval : int with get, set
Property RunLimitInterval As Integer

Property Value

Type: System.Int32

Returns a Int32 that contains the run limit interval, in minutes, to use for the action. For possible values, see Remarks.

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 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.

See Also

IFsrmAction Interface
Microsoft.Storage Namespace

Return to top