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

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

Property Value

Type: System.String
The error log path for the instance of SQL Server.

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace