OleDbException::ErrorCode Property

 

Gets the HRESULT of the error.

Namespace:   System.Data.OleDb
Assembly:  System.Data (in System.Data.dll)

public:
property int ErrorCode {
	virtual int get() override;
}

Property Value

Type: System::Int32

The HRESULT of the error.

.NET Framework
Available since 1.1
Return to top
Show: