Compartir a través de


LogFile.Growth Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Growth As Double 
    Get 
    Set
'Uso
Dim instance As LogFile 
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)

Valor de la propiedad

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

Comentarios

The value returned is in KB or in percent depending on the LogFile object's GrowthType property value. For example, if the GrowthType property is set to KB then the value is returned in KB.

Ejemplos

Utilizar grupos de archivos y archivos para almacenar datos

Vea también

Referencia

LogFile Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

CREATE DATABASE (Transact-SQL)