Export (0) Print
Expand All

IFsrmAutoApplyQuota interface

[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:

Members

The IFsrmAutoApplyQuota interface inherits from IFsrmQuotaObject. IFsrmAutoApplyQuota also has these types of members:

Methods

The IFsrmAutoApplyQuota interface has these methods.

MethodDescription
CommitAndUpdateDerived

Saves the quota and then applies any changes to the derived quota objects.

 

Properties

The IFsrmAutoApplyQuota interface has these properties.

PropertyAccess typeDescription

ExcludeFolders

Read/write

Retrieves or sets an array of subdirectories to exclude from the automatic quota.

 

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmAutoApplyQuota is defined as f82e5729-6aba-4740-bfc7-c7f58f75fb7b

See also

IFsrmQuotaObject
IFsrmQuotaManager::CreateQuota
MSFT_FSRMAutoQuota

 

 

Show:
© 2015 Microsoft