IFsrmQuotaManager::GetQuota 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 quota for the specified directory.

Syntax

HRESULT GetQuota(
  [in]  BSTR       path,
  [out] IFsrmQuota **quota
);

Parameters

[in] path

The local directory path that contains the quota that you want to retrieve. 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.

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

See also

FsrmQuotaManager

IFsrmQuotaManager

IFsrmQuotaManagerEx

MSFT_FSRMQuota