dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlException Class / LineNumber Property

In This Topic
    LineNumber Property (SqlException)
    In This Topic
    Gets the line number within the SQL command batch or stored procedure that generated the error.
    Syntax
    'Declaration
     
    Public ReadOnly Property LineNumber As Integer
    public int LineNumber {get;}

    Property Value

    The 1-based line number.
    See Also