IFsrmQuotaBase Interface

 

Used to manage quotas.

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

<GuidAttribute("1568A795-3924-4118-B74B-68D8F0FA5DAF")>
Public Interface IFsrmQuotaBase
	Inherits IFsrmObject

NameDescription
System_CAPS_pubpropertyDescription

Retrieves or sets the description of the object.

System_CAPS_pubpropertyid

Retrieves the identifier of the object.

System_CAPS_pubpropertyQuotaFlags

Retrieves or sets the quota flags for the object.

System_CAPS_pubpropertyQuotaLimit

Retrieves or sets the quota limit for the object.

System_CAPS_pubpropertyThresholds

Retrieves the thresholds for the quota object.

NameDescription
System_CAPS_pubmethodAddThreshold(Int32)

Adds a threshold to the quota object.

System_CAPS_pubmethodCommit()

Saves the quota object in the server's list of objects.

System_CAPS_pubmethodCreateThresholdAction(Int32, _FsrmActionType)

Creates an action and associates it with the specified threshold.

System_CAPS_pubmethodDelete()

Removes the quota object from the server's list of objects.

System_CAPS_pubmethodDeleteThreshold(Int32)

Deletes a threshold from the quota object.

System_CAPS_pubmethodEnumThresholdActions(Int32)

Enumerates all the actions for the specified threshold.

System_CAPS_pubmethodModifyThreshold(Int32, Int32)

Changes the threshold value.

A directory quota restricts the size of a specific directory to a configurable quota limit. In addition to the limit, a directory quota may be configured with one or more directory quota thresholds which define a set of actions that are initiated when the quota usage reaches the threshold value.

You can create a quota, an automatic quota, or a quota template. A quota applies to a specific directory. The automatic quota applies to the specified directory and automatically creates quotas for new and existing subdirectories of the specified directory. The quota template is used to modify properties in bulk by applying the changes to quotas that derive from the quota template.

Note that if the directory is renamed, the quota applies to the renamed directory. If the directory is deleted, the quota is deleted.To create this object from a script, use the program identifier, "Fsrm.FsrmQuotaManager".

Return to top

Community Additions

ADD
Show: