IFsrmQuotaManagerEx::IsAffectedByQuota method

[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

path [in]

The local directory path to determine whether a quota applies.

options [in]

The options to use when checking for a quota. For possible values, see the FsrmEnumOptions enumeration.

affected [out]

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.

S_OK

Success.

E_INVALIDARG

The affected parameter is NULL or the options parameter is not valid.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

FsrmQuota.h (include FsrmQuota.h or FsrmTlb.h)

DLL

SrmSvc.dll

IID

IID_IFsrmQuotaManagerEx is defined as 4846cb01-d430-494f-abb4-b1054999fb09

See also

IFsrmQuotaManagerEx
MSFT_FSRMQuota

 

 

Show: