共用方式為


DataFile.Growth 屬性

Gets or sets the growth increment for the data 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 DataFile 
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 GrowthType property value of the DataFile object.

範例

使用檔案群組和檔案來儲存資料

請參閱

參考

DataFile 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

檔案與檔案群組架構

CREATE DATABASE (Transact-SQL)