共用方式為


MaxSize 屬性

Gets or set the maximum size to which the file can grow, in MB.

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

語法

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

value = instance.MaxSize

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

屬性值

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