Свойство UsedSpace

Gets the amount of used space in the data file in KB.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property UsedSpace As Double
    Get
'Применение
Dim instance As DataFile
Dim value As Double

value = instance.UsedSpace
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public double UsedSpace { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property double UsedSpace {
    double get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member UsedSpace : float
function get UsedSpace () : double

Значение свойства

Тип: System. . :: . .Double
A Float64 value that specifies the amount of used space in the data file in KB.