共用方式為


NumberOfLogFiles 屬性

取得或設定 NumberOfLogFiles 屬性值。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NumberOfLogFiles As Integer
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .Int32
Int32

實作

IServerSettings. . :: . .NumberOfLogFiles