다음을 통해 공유


NumberOfLogFiles 속성

SQL Server 인스턴스의 데이터베이스에 사용되는 로그 파일 수를 가져오거나 설정합니다.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NumberOfLogFiles As Integer
    Get
    Set
‘사용 방법
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)

속성 값

유형: System. . :: . .Int32
로그 파일 수를 지정하는 Int32 값입니다.