Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
[GuidAttribute("A2EFAB31-295E-46BB-B976-E86D58B52E8B")]
public interface IFsrmQuotaTemplate : IFsrmQuotaBase
[GuidAttribute("A2EFAB31-295E-46BB-B976-E86D58B52E8B")]
public interface class IFsrmQuotaTemplate : IFsrmQuotaBase
[<GuidAttribute("A2EFAB31-295E-46BB-B976-E86D58B52E8B")>]
type IFsrmQuotaTemplate =
interface
interface IFsrmQuotaBase
end
<GuidAttribute("A2EFAB31-295E-46BB-B976-E86D58B52E8B")>
Public Interface IFsrmQuotaTemplate
Inherits IFsrmQuotaBase
Properties
| Name | Description | |
|---|---|---|
![]() |
Description | Retrieves or sets the description of the object. |
![]() |
id | Gets the id property. |
![]() |
Name | Retrieves and sets the name of the quota template. |
![]() |
QuotaFlags | Retrieves or sets the quota flags for the object. |
![]() |
QuotaLimit | Retrieves or sets the quota limit for the object. |
![]() |
Thresholds | Retrieves the thresholds for the quota object. |
Methods
| Name | Description | |
|---|---|---|
![]() |
AddThreshold(Int32) | Adds a threshold to the quota template. |
![]() |
Commit() | Saves the quota template in the server's list of objects. |
![]() |
CommitAndUpdateDerived(_FsrmCommitOptions, _FsrmTemplateApplyOptions) | Saves the quota template and then applies any changes to the derived quota objects. |
![]() |
CopyTemplate(String) | Copies the property values of the specified template to this template. |
![]() |
CreateThresholdAction(Int32, _FsrmActionType) | Creates an action and associates it with the specified threshold on the quota template. |
![]() |
Delete() | Removes the quota template from the server's list of objects. |
![]() |
DeleteThreshold(Int32) | Deletes a threshold from the quota template. |
![]() |
EnumThresholdActions(Int32) | Enumerates all the actions for the specified threshold of the quota template. |
![]() |
ModifyThreshold(Int32, Int32) | Changes the threshold of the quota template. |
Remarks
To create this interface, call the CreateTemplate method.
The following methods return this interface:
See Also
Return to top
.jpeg)
.jpeg)