次の方法で共有


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)

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
System_CAPS_pubproperty Description

Retrieves or sets the description of the object.

System_CAPS_pubproperty id

Gets the id property.

System_CAPS_pubproperty Name

Retrieves and sets the name of the quota template.

System_CAPS_pubproperty QuotaFlags

Retrieves or sets the quota flags for the object. 

System_CAPS_pubproperty QuotaLimit

Retrieves or sets the quota limit for the object.

System_CAPS_pubproperty Thresholds

Retrieves the thresholds for the quota object.

Methods

Name Description
System_CAPS_pubmethod AddThreshold(Int32)

Adds a threshold to the quota template.

System_CAPS_pubmethod Commit()

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

System_CAPS_pubmethod CommitAndUpdateDerived(_FsrmCommitOptions, _FsrmTemplateApplyOptions)

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

System_CAPS_pubmethod CopyTemplate(String)

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

System_CAPS_pubmethod CreateThresholdAction(Int32, _FsrmActionType)

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

System_CAPS_pubmethod Delete()

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

System_CAPS_pubmethod DeleteThreshold(Int32)

Deletes a threshold from the quota template.

System_CAPS_pubmethod EnumThresholdActions(Int32)

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

System_CAPS_pubmethod 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:

  1. CreateTemplate

  2. EnumTemplates

  3. ImportTemplates

See Also

Microsoft.Storage Namespace

Return to top