共用方式為


DataSpaceUsed 屬性

Gets the storage space used by the rows of the referenced table in kilobytes.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property DataSpaceUsed As Double
    Get
'用途
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

屬性值

型別:System. . :: . .Double
A Float64 value that specifies the storage space of the rows of data in the table, in kilobytes.

備註

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.