مشاركة عبر


DataFile.Growth Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Growth As Double 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

The value returned is in KB or in percent depending on the GrowthType property value of the DataFile object.

Examples

Using Filegroups and Files to Store Data

See Also

Reference

DataFile Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Files and Filegroups Architecture

CREATE DATABASE (Transact-SQL)