LineNumber Property (SqlException)
Gets the line number within the SQL command batch or stored procedure that generated the error.
public int LineNumber {get;}
'Declaration
Public ReadOnly Property LineNumber As Integer
Property Value
The 1-based line number.