다음을 통해 공유


NumberOfLogFiles 속성

Gets or sets the number of log files used by databases on the instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public Property NumberOfLogFiles As Integer
    Get
    Set
‘사용 방법
Dim instance As Settings
Dim value As Integer

value = instance.NumberOfLogFiles

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

속성 값

형식: System. . :: . .Int32
An Int32 value that specifies the number of log files.