ReadErrorLog méthode
Enumerates the SQL Server error log.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function ReadErrorLog As DataTable
'Utilisation
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
Valeur de retour
Type : System.Data. . :: . .DataTable
A StringCollection system object value that contains an enumerated list of errors from the SQL Server error log.