Partilhar via


SpaceUsed Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The SpaceUsed property returns the amount of disk resource used to store data implementing the referenced Microsoft SQL Server index.

Syntax

object
.SpaceUsed 

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetSpaceUsed(LPLONG pRetVal);

Remarks

The return value of SpaceUsed represents a number of kilobytes.

Applies To:

Index Object