Поделиться через


Свойство NumberOfLogFiles

Gets or sets the NumberOfLogFiles property for an instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")> _
<DisplayNameKeyAttribute("Server_NumberOfLogFilesName")> _
Property NumberOfLogFiles As Integer
    Get
    Set
'Применение
Dim instance As IServerSettings
Dim value As Integer

value = instance.NumberOfLogFiles

instance.NumberOfLogFiles = value
[DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")]
[DisplayNameKeyAttribute("Server_NumberOfLogFilesName")]
int NumberOfLogFiles { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_NumberOfLogFilesDesc")]
[DisplayNameKeyAttribute(L"Server_NumberOfLogFilesName")]
property int NumberOfLogFiles {
    int get ();
    void set (int value);
}
[<DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")>]
[<DisplayNameKeyAttribute("Server_NumberOfLogFilesName")>]
abstract NumberOfLogFiles : int with get, set
function get NumberOfLogFiles () : int
function set NumberOfLogFiles (value : int)

Значение свойства

Тип: System. . :: . .Int32
Int32