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.ToString

Returns the entire text of the SQLError.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();
[C++]
public: override String* ToString();
[JScript]
public override function ToString() : String;

Return Value

The text of the error.

Remarks

The string will be in the format of "SQLError:", followed by the Message, and the stack trace. For example:

SQLError:UserID or Password not valid. <stack trace>

See Also

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