IServerSettings.NumberOfLogFiles プロパティ
SQL Server のインスタンスの NumberOfLogFiles プロパティを取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<DisplayNameKeyAttribute("Server_NumberOfLogFilesName")> _
<DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")> _
Property NumberOfLogFiles As Integer
Get
Set
'使用
Dim instance As IServerSettings
Dim value As Integer
value = instance.NumberOfLogFiles
instance.NumberOfLogFiles = value
[DisplayNameKeyAttribute("Server_NumberOfLogFilesName")]
[DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")]
int NumberOfLogFiles { get; set; }
[DisplayNameKeyAttribute(L"Server_NumberOfLogFilesName")]
[DisplayDescriptionKeyAttribute(L"Server_NumberOfLogFilesDesc")]
property int NumberOfLogFiles {
int get ();
void set (int value);
}
[<DisplayNameKeyAttribute("Server_NumberOfLogFilesName")>]
[<DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")>]
abstract NumberOfLogFiles : int with get, set
function get NumberOfLogFiles () : int
function set NumberOfLogFiles (value : int)
プロパティ値
型: System.Int32
SQL Server のインスタンスの NumberOfLogFiles プロパティです。