Condividi tramite


Proprietà LogFile.MaxSize

Gets or set the maximum size to which the file can grow, in MB.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property MaxSize As Double 
    Get 
    Set
'Utilizzo
Dim instance As LogFile 
Dim value As Double 

value = instance.MaxSize

instance.MaxSize = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public double MaxSize { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property double MaxSize {
    double get ();
    void set (double value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MaxSize : float with get, set
function get MaxSize () : double 
function set MaxSize (value : double)

Valore proprietà

Tipo: System.Double
A Double value that specifies the maximum size of the log file, in MB.

Esempi

Utilizzo di filegroup e file per archiviare dati

Vedere anche

Riferimento

LogFile Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE DATABASE (Transact-SQL)