IFsrmQuota 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 define a quota for a specified directory and to retrieve use statistics.
To create this interface, call the IFsrmQuotaManager::CreateQuota method.
The following methods return this interface:
- IFsrmQuotaManager::EnumEffectiveQuotas
- IFsrmQuotaManager::EnumQuotas
- IFsrmQuotaManager::GetQuota
- IFsrmQuotaManager::GetRestrictiveQuota
Inheritance
The IFsrmQuota interface inherits from IFsrmQuotaObject. IFsrmQuota also has these types of members:
Methods
The IFsrmQuota interface has these methods.
IFsrmQuota::get_QuotaPeakUsage Retrieves the highest amount of disk space usage charged to this quota. |
IFsrmQuota::get_QuotaPeakUsageTime Retrieves the date and time that the IFsrmQuota::QuotaPeakUsage property was set. |
IFsrmQuota::get_QuotaUsed Retrieves the current amount of disk space usage charged to this quota. |
IFsrmQuota::RefreshUsageProperties Refreshes this object's quota usage information from the current information in FSRM. |
IFsrmQuota::ResetPeakUsage Resets the peak usage of this quota to the current usage. |
Remarks
A quota limits the amount of data that the system or any user can store in a directory.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | fsrmquota.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h) |