Partager via


IFsrmQuotaBase.AddThreshold Method (Int32)

 

Adds a threshold to the quota object.

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

Syntax

void AddThreshold(
    int threshold
)
void AddThreshold(
    int threshold
)
abstract AddThreshold : 
        threshold:int -> unit
Sub AddThreshold (
    threshold As Integer
)

Parameters

  • threshold
    Type: System.Int32

    The threshold to add to the quota object. The threshold is expressed as a percentage of the quota limit. The value must be from 1 through 250, inclusively.

Remarks

You can specify up to 16 unique thresholds for a quota.

A threshold defines the percentage (as a whole number) of directory quota limit used. When the size of all data in the directory exceeds the threshold, the FSRM server performs the specified actions (see CreateThresholdAction).

See Also

IFsrmQuotaBase Interface
Microsoft.Storage Namespace

Return to top