LogFile.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.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property UsedSpace As Double
Get
用法
Dim instance As LogFile
Dim value As Double
value = instance.UsedSpace
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public double UsedSpace { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property double UsedSpace {
double get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间