IFsrmQuotaManagerEx::IsAffectedByQuota 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 a value that determines whether a specified path is subject to a quota.
Syntax
HRESULT IsAffectedByQuota(
[in] BSTR path,
[in] FsrmEnumOptions options,
[out] VARIANT_BOOL *affected
);
Parameters
[in] path
The local directory path to determine whether a quota applies.
[in] options
The options to use when checking for a quota. For possible values, see the FsrmEnumOptions enumeration.
[out] affected
Is VARIANT_TRUE if the path referred to by the path parameter is subject to a quota, otherwise it is VARIANT_FALSE.
Return value
The method returns the following return values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | fsrmquota.h (include FsrmQuota.h, FsrmTlb.h) |
DLL | SrmSvc.dll |