Delen via


IServerInformation.ErrorLogPath Property

Gets the error log path for the instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_Desc")> _
<DisplayNameKeyAttribute("Server_Name")> _
ReadOnly Property ErrorLogPath As String
    Get
'Usage
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

Property Value

Type: System.String
String