OleDbException.ErrorCode Property

Definition

Gets the HRESULT of the error.

public:
 virtual property int ErrorCode { int get(); };
public override int ErrorCode { get; }
[System.ComponentModel.TypeConverter(typeof(System.Data.OleDb.OleDbException+ErrorCodeConverter))]
public override int ErrorCode { get; }
member this.ErrorCode : int
[<System.ComponentModel.TypeConverter(typeof(System.Data.OleDb.OleDbException+ErrorCodeConverter))>]
member this.ErrorCode : int
Public Overrides ReadOnly Property ErrorCode As Integer

Property Value

The HRESULT of the error.

Attributes

Applies to

See also