Server.ReadErrorLog Method

Enumerates the SQL Server error log.

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

public DataTable ReadErrorLog()

Return Value

Type: System.Data.DataTable
A StringCollection system object value that contains an enumerated list of errors from the SQL Server error log.

Community Additions

ADD
Show: