Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Scan method

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

Starts a quota scan on the specified path.

Syntax


HRESULT Scan(
  [in] BSTR strPath
);

Parameters

strPath [in]

The local directory path to scan.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

FSRM_E_NOT_FOUND

The specified path does not contain any quotas.

FSRM_E_INVALID_PATH

The specified path is not valid.

E_INVALIDARG

The strPath parameter is NULL or empty.

 

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

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

DLL

SrmSvc.dll

CLSID

CLSID_FsrmQuotaManager is defined as 90dcab7f-347c-4bfc-b543-540326305fbe

IID

IID_IFsrmQuotaManager is defined as 8bb68c7d-19d8-4ffb-809e-be4fc1734014

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

See also

IFsrmQuotaManager
IFsrmQuotaManagerEx
FsrmQuotaManager
MSFT_FSRMQuota

 

 

Show:
© 2015 Microsoft