共用方式為


UsedSpace 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property UsedSpace As Double
    Get
'用途
Dim instance As LogFile
Dim value As Double

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

屬性值

型別:System. . :: . .Double
A Float64 value that specifies the amount of used space in the log file in KB.