Aracılığıyla paylaş


Information.ErrorLogPath Property

Gets the file directory where the error log is stored on the instance of SQL Server.

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

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ErrorLogPath As String
    Get
'Kullanım
Dim instance As Information
Dim value As String

value = instance.ErrorLogPath
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ErrorLogPath { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ErrorLogPath {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ErrorLogPath : string
function get ErrorLogPath () : String

Property Value

Type: System.String
A String value that specifies the error log file location on the instance of SQL Server.

Examples

Configuring SQL Server in SMO

See Also

Reference

Information Class

Microsoft.SqlServer.Management.Smo Namespace