Condividi tramite


DataFile.Growth Property

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Property Growth As Double
public double Growth { get; set; }
public:
property double Growth {
    double get ();
    void set (double value);
}
/** @property */
public double get_Growth ()

/** @property */
public void set_Growth (double value)
public function get Growth () : double

public function set Growth (value : double)

Valore proprietà

A Float64 value that specifies the growth increment in kilobytes or in percent.

Osservazioni

The value returned is in kilobytes or in percent depending on the GrowthType property value of the DataFile object. For example, if the GrowthType property is set to KB, the value is returned in kilobytes.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempio

How to: Add FileGroups and DataFiles to a Database in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

DataFile Class
DataFile Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Using Filegroups and Files to Store Data
File e filegroup fisici del database
CREATE DATABASE (Transact-SQL)