Partager via


IndexSpaceUsage Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The IndexSpaceUsage property returns the number of kilobytes assigned to index storage within all operating system files maintaining indexes for the referenced database.

Syntaxe

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);

Notes

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.

Applies To: