Свойство SpaceUsed
Gets or sets the disk space used to store the index data in kilobytes.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property SpaceUsed As Double
Get
'Применение
Dim instance As Index
Dim value As Double
value = instance.SpaceUsed
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public double SpaceUsed { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property double SpaceUsed {
double get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member SpaceUsed : float
function get SpaceUsed () : double
Значение свойства
Тип System. . :: . .Double
An Int64 value that specifies the space used, in KB.
Замечания
Примечание |
|---|
For indexes based on the UserDefinedTableType object the value of SpaceUsed property is zero. Also, if setting the property issues a dbcc command it will not be executed. |
См. также
Примечание