Freigeben über


DataFile.AvailableSpace-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property AvailableSpace As Double 
    Get
'Usage
Dim instance As DataFile 
Dim value As Double 

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

Eigenschaftswert

Typ: System.Double
A Float64 value that specifies the available space in KB.

Beispiele

Verwenden von Dateigruppen und Dateien zur Speicherung von Daten

Siehe auch

Verweis

DataFile Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Architektur von Dateien und Dateigruppen

CREATE DATABASE (Transact-SQL)