共用方式為


IFsrmQuotaTemplate.AddThreshold Method (Int32)

 

Adds a threshold to the quota template.

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 template. The threshold is expressed as a percentage of the quota limit. The value must be from 1 through 250, inclusively.

Implements

IFsrmQuotaBase.AddThreshold(Int32)

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 actions that are associated with the threshold.

See Also

IFsrmQuotaTemplate Interface
Microsoft.Storage Namespace

Return to top