共用方式為


AvailableSpace 屬性

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

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

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property AvailableSpace As Double
    Get
'用途
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

屬性值

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