IFsrmAutoApplyQuota Interface

 

Used to automatically add the quota to new and existing subdirectories of the directory on which the automatic quota is applied.

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

<GuidAttribute("F82E5729-6ABA-4740-BFC7-C7F58F75FB7B")>
Public Interface IFsrmAutoApplyQuota
	Inherits IFsrmQuotaObject

NameDescription
System_CAPS_pubpropertyDescription

Gets and sets the Description property.

System_CAPS_pubpropertyExcludeFolders

Retrieves or sets an array of immediate subdirectories to exclude from the automatic quota.

System_CAPS_pubpropertyid

Gets the id property.

System_CAPS_pubpropertyMatchesSourceTemplate

Gets the MatchesSourceTemplate property.

System_CAPS_pubpropertyPath

Gets the Path property.

System_CAPS_pubpropertyQuotaFlags

Gets and sets the QuotaFlags property.

System_CAPS_pubpropertyQuotaLimit

Gets and sets the QuotaLimit property.

System_CAPS_pubpropertySourceTemplateName

Gets the SourceTemplateName property.

System_CAPS_pubpropertyThresholds

Gets the Thresholds property.

System_CAPS_pubpropertyUserAccount

Gets the UserAccount property.

System_CAPS_pubpropertyUserSid

Gets the UserSid property.

NameDescription
System_CAPS_pubmethodAddThreshold(Int32)

Adds a threshold to the automatic quota object.

System_CAPS_pubmethodApplyTemplate(String)

Applies the property values of the specified quota template to this automatic quota object.

System_CAPS_pubmethodCommit()

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

System_CAPS_pubmethodCommitAndUpdateDerived(_FsrmCommitOptions, _FsrmTemplateApplyOptions)

Saves the quota and then applies any changes to the derived quotas.

System_CAPS_pubmethodCreateThresholdAction(Int32, _FsrmActionType)

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

System_CAPS_pubmethodDelete()

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

System_CAPS_pubmethodDeleteThreshold(Int32)

Deletes a threshold from the automatic quota object.

System_CAPS_pubmethodEnumThresholdActions(Int32)

Enumerates all the actions for the specified threshold of the automatic quota object.

System_CAPS_pubmethodModifyThreshold(Int32, Int32)

Changes the threshold of the automatic quota object.

To create an automatic quota, call the CreateAutoApplyQuota method.

To retrieve this interface to an existing automatic quota, call one of the following methods:

To change the properties of an automatic quota, change the properties of the template from which the automatic quota is derived. Then call the CommitAndUpdateDerived method to update the properties of the automatic quotas and the quotas that derive from the automatic quota.

If any quota under the automatic quota's path was changed to a different template, it will not be changed to the automatic quota's new settings until you call the CommitAndUpdateDerived method.

Changes made to the automatic quota are reflected in new quotas only after the automatic quota is committed.

Return to top

Community Additions

ADD
Show: