Condividi tramite


Proprietà DataFile.GrowthType

Gets or sets the growth type 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
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property GrowthType As FileGrowthType 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

The GrowthType affects the DataFile object's Growth property.

Esempi

Utilizzo di filegroup e file per archiviare dati

Vedere anche

Riferimento

DataFile Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Architettura di file e filegroup

CREATE DATABASE (Transact-SQL)