OLEDBError Interface
Represents an OLE DB error returned by the most recent OLE DB query.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024445-0000-0000-C000-000000000046")> _
Public Interface OLEDBError
'Usage
Dim instance As OLEDBError
[InterfaceTypeAttribute()]
[GuidAttribute("00024445-0000-0000-C000-000000000046")]
public interface OLEDBError
Remarks
The OLEDBError object is a member of the OLEDBErrors collection. If the specified OLE DB query runs without error, the OLEDBErrors collection is empty. The errors in the collection are indexed in the order in which they're generated by the OLE DB provider.
Use OLEDBErrors(index), where index is the index number of the OLE DB error, to return a single OLEDBError object.