NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SQLErrors.All

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[];

Property Value

All instances of SQLError collected.

Example [Visual Basic]

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

See Also

SQLErrors Class | SQLErrors Members | System.Data.SQL Namespace