Edit

Share via


ODBCErrors Interface

Definition

A collection of ODBCError objects.

public interface class ODBCErrors : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002442D-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ODBCErrors : System.Collections.IEnumerable
Public Interface ODBCErrors
Implements IEnumerable
Attributes
Implements

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.

Properties

_Default[Int32]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Parent

Returns the parent object for the specified object.

Methods

GetEnumerator()
Item(Int32)

Returns a single object from a collection.

Applies to