Partager via


ODBCErrors Interface

A collection of ODBCError objects.

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

Syntax

'Declaration
<GuidAttribute("0002442D-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface ODBCErrors _
    Inherits IEnumerable
'Usage
Dim instance As ODBCErrors
[GuidAttribute("0002442D-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface ODBCErrors : IEnumerable

Remarks

Each ODBCError object represents an error returned by the most recent ODBC 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 ODBC data source. You cannot add members to the collection.

Use the ODBCErrors property to return the ODBCErrors collection.

See Also

Reference

ODBCErrors Members

Microsoft.Office.Interop.Excel Namespace