IFsrmQuotaManager::GetRestrictiveQuota method (fsrmquota.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMQuota class.]
Retrieves the most restrictive quota for the specified path.
Syntax
HRESULT GetRestrictiveQuota(
[in] BSTR path,
[out] IFsrmQuota **quota
);
Parameters
[in] path
The local directory path. The string is limited to 260 characters.
[out] quota
An IFsrmQuota interface to the quota object.
Return value
The method returns the following return values.
Remarks
The most restrictive quota is the one with the lowest quota limit. If a quota higher in the directory tree has a lower limit than the quota associated with the specified path, the former quota is returned. If two quotas have the same limit, the quota that is higher in the directory tree is returned.
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) |
DLL | SrmSvc.dll |