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)