Compartir a través de


LogFile.Growth Property

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 (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
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)

Valor de propiedad

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

Notas

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.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Create, Alter, and Remove a Log File in Visual Basic .NET

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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

Otros recursos

Using Filegroups and Files to Store Data
CREATE DATABASE (Transact-SQL)