dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleException Class / Code Property

In This Topic
    Code Property (OracleException)
    In This Topic
    Gets a code that identifies the type of error.
    Syntax
    'Declaration
     
    Public ReadOnly Property Code As Integer
    public int Code {get;}

    Property Value

    A code that identifies the type of error. For example, for ORA-12345 error it returns 12345.
    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