共用方式為


ErrorLogPath 屬性

Gets the error log path for the instance of 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