共用方式為


Size 屬性

Gets or sets the current size of the log file, in KB.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property Size As Double
    Get
    Set
'用途
Dim instance As LogFile
Dim value As Double

value = instance.Size

instance.Size = value
[SfcPropertyAttribute]
public double Size { get; set; }
[SfcPropertyAttribute]
public:
property double Size {
    double get ();
    void set (double value);
}
[<SfcPropertyAttribute>]
member Size : float with get, set
function get Size () : double
function set Size (value : double)

屬性值

型別:System. . :: . .Double
A Double value that specifies the current size of the log file, in KB.