LogFile.Growth 属性

Gets or sets the growth increment for the log file in KB or percent.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Growth As Double 
    Get 
    Set
用法
Dim instance As LogFile 
Dim value As Double 

value = instance.Growth

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

属性值

类型:System.Double
A Float64 value that specifies the growth increment in KB or in percent.

注释

The value returned is in KB or in percent depending on the LogFile object's GrowthType property value. For example, if the GrowthType property is set to KB then the value is returned in KB.

示例

使用文件组和文件存储数据

请参阅

参考

LogFile 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE DATABASE (Transact-SQL)