Partager via


Propriété DataFile.GrowthType

Gets or sets the growth type for the data file in kilobytes 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 GrowthType As FileGrowthType 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

The GrowthType affects the DataFile object's Growth property.

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)