Table.DataSpaceUsed Property
Gets the storage space used by the rows of the referenced table in kilobytes.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property DataSpaceUsed As Double
Get
'Usage
Dim instance As Table
Dim value As Double
value = instance.DataSpaceUsed
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public double DataSpaceUsed { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property double DataSpaceUsed {
double get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member DataSpaceUsed : float
function get DataSpaceUsed () : double
Property Value
Type: System.Double
A Float64 value that specifies the storage space of the rows of data in the table, in kilobytes.
Remarks
The value is the actual amount of disk space that is required to store the row data of the referenced table. SQL Server can allocate additional, unused space to a Table object.
See Also