OleDbException.ErrorCode Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the HRESULT of the error.
public:
 virtual property int ErrorCode { int get(); };
	[System.ComponentModel.TypeConverter(typeof(System.Data.OleDb.OleDbException+ErrorCodeConverter))]
public override int ErrorCode { get; }
	[<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