Freigeben über


UsedSpace-Eigenschaft

Gets the amount of used 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 UsedSpace As Double
    Get
'Usage
Dim instance As DataFile
Dim value As Double

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

Eigenschaftenwert

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