IFsrmQuota Interface

 

Used to define a quota for a specified directory and to retrieve use statistics.

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

<GuidAttribute("377F739D-9647-4B8E-97D2-5FFCE6D759CD")>
Public Interface IFsrmQuota
	Inherits IFsrmQuotaObject

NameDescription
System_CAPS_pubpropertyDescription

Gets and sets the Description property.

System_CAPS_pubpropertyid

Gets the id property.

System_CAPS_pubpropertyMatchesSourceTemplate

Returns true if the properties of this instance match the source template and false if they don't.

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_pubpropertyQuotaPeakUsage

Retrieves the highest amount of disk space usage charged to this quota.

System_CAPS_pubpropertyQuotaPeakUsageTime

Retrieves the date and time that the QuotaPeakUsage property was set.

System_CAPS_pubpropertyQuotaUsed

Retrieves the current amount of disk space usage charged to this quota.

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 quota object.

System_CAPS_pubmethodApplyTemplate(String)

Applies the property values of the specified quota template to this 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 on the quota object.

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 of the quota object.

System_CAPS_pubmethodModifyThreshold(Int32, Int32)

Changes the threshold of the quota object.

System_CAPS_pubmethodRefreshUsageProperties()

Refreshes this object's quota usage information from the current information in FSRM.

System_CAPS_pubmethodResetPeakUsage()

Resets the peak usage of this quota to the current usage.

To create this interface, call the CreateQuota method.The following methods return this interface:

  1.  EnumEffectiveQuotas

  2. EnumQuotas

  3. GetQuota

  4.  GetRestrictiveQuota 

A quota limits the amount of data that the system or any user can store in a directory.

Return to top

Community Additions

ADD
Show: