IFsrmQuotaManager::Scan 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.]

Starts a quota scan on the specified path.

Syntax

HRESULT Scan(
  [in] BSTR strPath
);

Parameters

[in] strPath

The local directory path to scan.

Return value

The method returns the following return values.

Remarks

Although quota usage is monitored on an ongoing basis, there may be some instances in which the quota usage may be out of sync with the actual usage, in which case you can call this method to refresh the quota usage. For example, if an administrator disables a quota (to investigate or troubleshoot an issue) and later enables it, then this method should be called to perform a manual scan.

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