IndexSpaceUsage Property
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The IndexSpaceUsage property returns the number of kilobytes assigned to index storage within all operating system files maintaining indexes for the referenced database.
語法
object
.IndexSpaceUsage
Parts
- object
An expression that evaluates to an object in the Applies To list
Data Type
Float
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetIndexSpaceUsage(LPFLOAT pRetVal);
備註
Microsoft SQL Server assigns database storage for index maintenance as indexes are created. A given index can use all or part of the assigned storage.