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!

SQLError.Message

Gets the error message that was generated from the SQL Server adapter.

[Visual Basic]
Public ReadOnly Property Message As String
[C#]
public string Message {get;}
[C++]
public: __property String* get_Message();
[JScript]
public function get Message() : String;

Property Value

The generated error message.

Example [Visual Basic]

The following example returns the error message.

[Visual Basic]

Function GetErrorMessage(sqlErr As SQLError) As String
   GetErrorMessage = sqlErr.Message
End Function

See Also

SQLError Class | SQLError Members | System.Data.SQL Namespace | Number | State | Source | Class | Server | Procedure | LineNumber