OLEDBErrors OLEDBErrors OLEDBErrors Interface


A collection of OLEDBError objects.

public interface class OLEDBErrors : System::Collections::IEnumerable
public interface OLEDBErrors : System.Collections.IEnumerable
Public Interface OLEDBErrors
Implements 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.


_Default[Int32] _Default[Int32] _Default[Int32]

Reserved for internal use.

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

Count Count Count

Returns the number of objects in the collection.

Creator Creator Creator

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

Parent Parent Parent

Returns the parent object for the specified object.


GetEnumerator() GetEnumerator() GetEnumerator()
Item(Int32) Item(Int32) Item(Int32)

Returns a single object from a collection.

Applies to