IFsrmQuotaTemplate Interface

 

Used to configure templates from which new quota objects can be derived. Templates are identified by a name and are used to simplify the configuration of directory quotas.

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

<GuidAttribute("A2EFAB31-295E-46BB-B976-E86D58B52E8B")>
Public Interface IFsrmQuotaTemplate
	Inherits IFsrmQuotaBase

NameDescription
System_CAPS_pubpropertyDescription

Retrieves or sets the description of the object.

System_CAPS_pubpropertyid

Gets the id property.

System_CAPS_pubpropertyName

Retrieves and sets the name of the quota template.

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

System_CAPS_pubmethodCommit()

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

System_CAPS_pubmethodCommitAndUpdateDerived(_FsrmCommitOptions, _FsrmTemplateApplyOptions)

Saves the quota template and then applies any changes to the derived quota objects.

System_CAPS_pubmethodCopyTemplate(String)

Copies the property values of the specified template to this template.

System_CAPS_pubmethodCreateThresholdAction(Int32, _FsrmActionType)

Creates an action and associates it with the specified threshold on the quota template.

System_CAPS_pubmethodDelete()

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

System_CAPS_pubmethodDeleteThreshold(Int32)

Deletes a threshold from the quota template.

System_CAPS_pubmethodEnumThresholdActions(Int32)

Enumerates all the actions for the specified threshold of the quota template.

System_CAPS_pubmethodModifyThreshold(Int32, Int32)

Changes the threshold of the quota template.

To create this interface, call the CreateTemplate method.

The following methods return this interface:

  1. CreateTemplate

  2. EnumTemplates

  3. ImportTemplates

Return to top

Community Additions

ADD
Show: