DataFile.AvailableSpace Property
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> _
Public ReadOnly Property AvailableSpace As Double
Get
'Usage
Dim instance As DataFile
Dim value As Double
value = instance.AvailableSpace
[SfcPropertyAttribute]
public double AvailableSpace { get; }
[SfcPropertyAttribute]
public:
property double AvailableSpace {
double get ();
}
[<SfcPropertyAttribute>]
member AvailableSpace : float
function get AvailableSpace () : double
Property Value
Type: System.Double
A Float64 value that specifies the available space in KB.
See Also