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 | |
---|---|---|
FsrmQuotaManagerClass() | Creates a new instance of the FsrmQuotaManagerClass class. |
Properties
Name | Description | |
---|---|---|
ActionVariableDescriptions | Retrieves the descriptions for the macros contained in the ActionVariables property. |
|
ActionVariables | Retrieves a list of macros that you can specify in action property values. |
Methods
Name | Description | |
---|---|---|
CreateAutoApplyQuota(String, String) | Creates an automatic quota for the specified directory. |
|
CreateQuota(String) | Creates a quota for the specified directory. |
|
CreateQuotaCollection() | Creates an empty collection to which you can add quotas. |
|
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). |
|
EnumEffectiveQuotas(String, _FsrmEnumOptions) | Enumerates all the quotas that affect the specified path. |
|
EnumQuotas(String, _FsrmEnumOptions) | Enumerates the quotas for the specified directory and any quotas associated with its subdirectories (recursively). |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetAutoApplyQuota(String) | Retrieves the automatic quota for the specified directory. |
|
GetHashCode() | (Inherited from Object.) |
|
GetQuota(String) | Retrieves the quota for the specified directory. |
|
GetRestrictiveQuota(String) | Retrieves the most restrictive quota for the specified path. |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Scan(String) | Starts a quota scan on the specified path. |
|
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