IFsrmAutoApplyQuota 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_FSRMAutoQuota class.]
Used to automatically add the quota to new and existing subdirectories of the directory on which the automatic quota is applied.
To create an automatic quota, call the IFsrmQuotaManager::CreateAutoApplyQuota method.
To retrieve this interface to an existing automatic quota, call one of the following methods:
Inheritance
The IFsrmAutoApplyQuota interface inherits from IFsrmQuotaObject. IFsrmAutoApplyQuota also has these types of members:
Methods
The IFsrmAutoApplyQuota interface has these methods.
IFsrmAutoApplyQuota::CommitAndUpdateDerived Saves the quota and then applies any changes to the derived quotas. |
IFsrmAutoApplyQuota::get_ExcludeFolders Retrieves or sets an array of immediate subdirectories to exclude from the automatic quota. (Get) |
IFsrmAutoApplyQuota::put_ExcludeFolders Retrieves or sets an array of immediate subdirectories to exclude from the automatic quota. (Put) |
Remarks
To change the properties of an automatic quota, change the properties of the template from which the automatic quota is derived. Then call the IFsrmQuotaTemplate::CommitAndUpdateDerived method to update the properties of the automatic quotas and the quotas that derive from the automatic quota.
If any quota under the automatic quota's path was changed to a different template, it will not be changed to the automatic quota's new settings until you call the IFsrmAutoApplyQuota::CommitAndUpdateDerived method.
Changes made to the automatic quota are reflected in new quotas only after the automatic quota is committed.
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) |