ReadErrorLog Método
Enumerates the SQL Server error log.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function ReadErrorLog As DataTable
'Uso
Dim instance As Server
Dim returnValue As DataTable
returnValue = instance.ReadErrorLog()
public DataTable ReadErrorLog()
public:
DataTable^ ReadErrorLog()
member ReadErrorLog : unit -> DataTable
public function ReadErrorLog() : DataTable
Valor devuelto
Tipo: System.Data. . :: . .DataTable
A StringCollection system object value that contains an enumerated list of errors from the SQL Server error log.