Server.NumberOfLogFiles Property

Gets or sets the NumberOfLogFiles property value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NumberOfLogFiles As Integer
    Get
    Set
'Usage
Dim instance As Server
Dim value As Integer

value = instance.NumberOfLogFiles

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

Property Value

Type: System.Int32
Int32

Implements

IServerSettings.NumberOfLogFiles