Partager via


Propriété UsedSpace

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property UsedSpace As Double
    Get
'Utilisation
Dim instance As DataFile
Dim value As Double

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

Valeur de propriété

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