次の方法で共有


ErrorLogPath プロパティ

SQL Server のインスタンスのエラー ログのパスを取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayDescriptionKeyAttribute("Server_Desc")> _
<DisplayNameKeyAttribute("Server_Name")> _
ReadOnly Property ErrorLogPath As String
    Get
'使用
Dim instance As IServerInformation
Dim value As String

value = instance.ErrorLogPath
[DisplayDescriptionKeyAttribute("Server_Desc")]
[DisplayNameKeyAttribute("Server_Name")]
string ErrorLogPath { get; }
[DisplayDescriptionKeyAttribute(L"Server_Desc")]
[DisplayNameKeyAttribute(L"Server_Name")]
property String^ ErrorLogPath {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_Desc")>]
[<DisplayNameKeyAttribute("Server_Name")>]
abstract ErrorLogPath : string
function get ErrorLogPath () : String

プロパティ値

型: System. . :: . .String
String