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

State Property (SqlError)
Gets a numeric error code from SQL Server that represents an error.
Syntax
'Declaration
 
Public ReadOnly Property State As Byte
 

Property Value

The number that represents the error code.
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