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