共用方式為


IFsrmQuotaManager.Scan Method (String)

 

Starts a quota scan on the specified path.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

void Scan(
    string strPath
)
void Scan(
    String^ strPath
)
abstract Scan : 
        strPath:string -> unit
Sub Scan (
    strPath As String
)

Parameters

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.

See Also

IFsrmQuotaManagerEx
FsrmQuotaManager
IFsrmQuotaManager Interface
Microsoft.Storage Namespace

Return to top