Udostępnij za pośrednictwem


Właściwość Settings.NumberOfLogFiles

Pobiera lub ustawia liczbę plików dziennika używane w bazach danych na wystąpienie SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NumberOfLogFiles As Integer
    Get
    Set
'Użycie
Dim instance As Settings
Dim value As Integer

value = instance.NumberOfLogFiles

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

Wartość właściwości

Typ: System.Int32
Int32 Wartość, która określa liczbę plików dziennika.