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!

SQLException.LineNumber

Gets the line number that the SQL Server error occurred on.

[Visual Basic]
Public ReadOnly Property LineNumber As Integer
[C#]
public int LineNumber {get;}
[C++]
public: __property int get_LineNumber();
[JScript]
public function get LineNumber() : int;

Property Value

The line number.

Remarks

This is a wrapper for the LineNumber property of the first SQLError in the Errors property.

See Also

SQLException Class | SQLException Members | System.Data.SQL Namespace | Number | Source | State | Class | Server | Message | Procedure