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

LineNumber Property (SqlError)
Gets the line number within the SQL command batch or stored procedure that contains the error.
Syntax
'Declaration
 
Public ReadOnly Property LineNumber As Integer
 

Property Value

The 1-based line number.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also