dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Error Class / State Property

In This Topic
    State Property (DB2Error)
    In This Topic
    Gets the five-character error code that follows the ANSI SQL standard for the database. This code identifies the source of the error if the error can be issued from more than one place.
    Syntax
    'Declaration
     
    Public ReadOnly Property State As String
    public string State {get;}

    Property Value

    The five-character error code that follows the ANSI SQL standard for the database.
    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