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

In This Topic
    State Property (SqlError)
    In This Topic
    Gets a numeric error code from SQL Server that represents an error.
    Syntax
    'Declaration
     
    Public ReadOnly Property State As Byte
    public byte State {get;}

    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