次の方法で共有


ICatAdm::IndexSize property

[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]

Contains the total size of the index, in megabytes, including the master index, shadow indexes, and the property store cache.

This property is read-only.

Syntax

HRESULT get_IndexSize(
  [out, retval] LONG *pVal
);

Property value

The total size of the index, in megabytes.

Remarks

Retrieving this property requires Indexing Service to be running. If it is not running, an error object is created with the Number property set to CI_E_NOT_RUNNING.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
DLL
Ciodm.dll

See also

ICatAdm