Partager via


Propriété DataFile.Growth

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Growth As Double 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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

Exemples

Utilisation de fichiers ou de groupes de fichiers pour stocker des données

Voir aussi

Référence

DataFile Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Architecture des fichiers et des groupes de fichiers

CREATE DATABASE (Transact-SQL)