共用方式為


DataFile.GrowthType 屬性

Gets or sets the growth type for the data file in kilobytes or percent.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property GrowthType As FileGrowthType 
    Get 
    Set
'用途
Dim instance As DataFile 
Dim value As FileGrowthType 

value = instance.GrowthType

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.FileGrowthType
A GrowthType object value that specifies the growth type such as KB or in percent.

備註

The GrowthType affects the DataFile object's Growth property.

範例

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

請參閱

參考

DataFile 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

檔案與檔案群組架構

CREATE DATABASE (Transact-SQL)