IFsrmQuotaManager interface (fsrmquota.h)

[This interface is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]

Used to manage quotas.

To get this interface, call the CoCreateInstanceEx function. Use CLSID_FsrmQuotaManager as the class identifier and __uuidof(IFsrmQuotaManager) as the interface identifier. For an example, see Defining a Quota.

Inheritance

The IFsrmQuotaManager interface inherits from the IDispatch interface. IFsrmQuotaManager also has these types of members:

Methods

The IFsrmQuotaManager interface has these methods.

 
IFsrmQuotaManager::CreateAutoApplyQuota

Creates an automatic quota for the specified directory.
IFsrmQuotaManager::CreateQuota

Creates a quota for the specified directory.
IFsrmQuotaManager::CreateQuotaCollection

Creates an empty collection to which you can add quotas.
IFsrmQuotaManager::EnumAutoApplyQuotas

Enumerates the automatic quotas that are associated with the specified directory.
IFsrmQuotaManager::EnumEffectiveQuotas

Enumerates all the quotas that affect the specified path.
IFsrmQuotaManager::EnumQuotas

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

Retrieves the descriptions for the macros contained in the IFsrmQuotaManager::ActionVariables property.
IFsrmQuotaManager::get_ActionVariables

Retrieves a list of macros that you can specify in action property values. (IFsrmQuotaManagerEx.get_ActionVariables)
IFsrmQuotaManager::GetAutoApplyQuota

Retrieves the automatic quota for the specified directory.
IFsrmQuotaManager::GetQuota

Retrieves the quota for the specified directory.
IFsrmQuotaManager::GetRestrictiveQuota

Retrieves the most restrictive quota for the specified path.
IFsrmQuotaManager::Scan

Starts a quota scan on the specified path.

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".

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmquota.h (include FsrmQuota.h, FsrmTlb.h)

See also

FSRM Interfaces

FsrmQuotaManager

IFsrmQuotaManagerEx

MSFT_FSRMQuota