This documentation is archived and is not being maintained.

OracleException.Code Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets the code portion of the error as an int.

[Visual Basic]
Public ReadOnly Property Code As Integer
public int Code {get;}
public: __property int get_Code();
public function get Code() : int;

Property Value

The code portion of the error as an int.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleException Class | OracleException Members | System.Data.OracleClient Namespace