OLEDBErrors Interface

A collection of OLEDBError objects.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("00024446-0000-0000-C000-000000000046")]
public interface OLEDBErrors : IEnumerable

Each OLEDBError object represents an error returned by the most recent OLE DB query. If the specified ODBC query runs without error, the ODBCErrors collection is empty. The errors in the collection are indexed in the order in which they’re generated by the OLE DB provider. You cannot add members to the collection.

Use the OLEDBErrors property to return the ODBCErrors collection.

Show:
© 2015 Microsoft