다음을 통해 공유


FsrmQuotaManagerClass Class

 

Used to manage quotas.

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

Inheritance Hierarchy

System.Object
  Microsoft.Storage.FsrmQuotaManagerClass

Syntax

[GuidAttribute("90DCAB7F-347C-4BFC-B543-540326305FBE")]
[ClassInterfaceAttribute(0)]
public class FsrmQuotaManagerClass : IFsrmQuotaManager, FsrmQuotaManager
[GuidAttribute("90DCAB7F-347C-4BFC-B543-540326305FBE")]
[ClassInterfaceAttribute(0)]
public ref class FsrmQuotaManagerClass : IFsrmQuotaManager, FsrmQuotaManager
[<GuidAttribute("90DCAB7F-347C-4BFC-B543-540326305FBE")>]
[<ClassInterfaceAttribute(0)>]
type FsrmQuotaManagerClass = 
    class
        interface IFsrmQuotaManager
        interface FsrmQuotaManager
    end
<GuidAttribute("90DCAB7F-347C-4BFC-B543-540326305FBE")>
<ClassInterfaceAttribute(0)>
Public Class FsrmQuotaManagerClass
    Implements IFsrmQuotaManager, FsrmQuotaManager

Constructors

Name Description
System_CAPS_pubmethod FsrmQuotaManagerClass()

Creates a new instance of the FsrmQuotaManagerClass class.

Properties

Name Description
System_CAPS_pubproperty ActionVariableDescriptions

Retrieves the descriptions for the macros contained in the ActionVariables property.

System_CAPS_pubproperty ActionVariables

Retrieves a list of macros that you can specify in action property values.

Methods

Name Description
System_CAPS_pubmethod CreateAutoApplyQuota(String, String)

Creates an automatic quota for the specified directory.

System_CAPS_pubmethod CreateQuota(String)

Creates a quota for the specified directory.

System_CAPS_pubmethod CreateQuotaCollection()

Creates an empty collection to which you can add quotas.

System_CAPS_pubmethod EnumAutoApplyQuotas(String, _FsrmEnumOptions)

Enumerates the automatic quotas that are associated with the specified directory. The enumeration can also include automatic quotas associated with subdirectories (recursively).

System_CAPS_pubmethod EnumEffectiveQuotas(String, _FsrmEnumOptions)

Enumerates all the quotas that affect the specified path.

System_CAPS_pubmethod EnumQuotas(String, _FsrmEnumOptions)

Enumerates the quotas for the specified directory and any quotas associated with its subdirectories (recursively).

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetAutoApplyQuota(String)

Retrieves the automatic quota for the specified directory.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetQuota(String)

Retrieves the quota for the specified directory.

System_CAPS_pubmethod GetRestrictiveQuota(String)

Retrieves the most restrictive quota for the specified path.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Scan(String)

Starts a quota scan on the specified path.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

A directory quota restricts the size of a specific directory to a configurable quota limit. In addition to the limit, a directory quota may be configured with one or more directory quota thresholds which define a set of actions that are initiated when the quota usage reaches the threshold value.

You can create a quota, an automatic quota, or a quota template. A quota applies to a specific directory. The automatic quota applies to the specified directory and automatically creates quotas for new and existing subdirectories of the specified directory. The quota template is used to modify properties in bulk by applying the changes to quotas that derive from the quota template.

Note that if the directory is renamed, the quota applies to the renamed directory. If the directory is deleted, the quota is deleted.

To create this object from a script, use the program identifier, "Fsrm.FsrmQuotaManager".

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

IFsrmQuotaManagerEx
FsrmQuotaManager
Microsoft.Storage Namespace

Return to top