NumberOfLogFiles プロパティ
SQL Server のインスタンスの NumberOfLogFiles プロパティを取得します。値の設定も可能です。
名前空間: 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)