DataFile.GrowthType Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property GrowthType As FileGrowthType
    Get
    Set
'Usage
Dim instance As DataFile
Dim value As FileGrowthType

value = instance.GrowthType

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

Property Value

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

Remarks

The GrowthType affects the DataFile object's Growth property.