SpaceUsed Property

SQL-DMO

SQL-DMO

SpaceUsed Property

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

Applies To
Index Object
Syntax

object.SpaceUsed

Parts

object

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.