Gets all of the SQL adapter errors collected.
[Visual Basic] Public ReadOnly Property All As SQLError () [C#] public SQLError[] All {get;} [C++] public: __property SQLError* get_All(); [JScript] public function get All() : SQLError[];
All instances of SQLError collected.
The following example displays an array of all SQLError.
[Visual Basic]
Public Sub DumpAllErrors(sqlErrCollect As SQLErrors) Dim myTitle As String Dim myMsgBox As MessageBox Dim myErrors() As SQLError myTitle = "Dump of all SQL Server Errors" myErrors = sqlErrCollect.All myMsgBox.Show myErrors, myTitle End Sub
SQLErrors Class | SQLErrors Members | System.Data.SQL Namespace