Edytuj

Udostępnij za pośrednictwem


OLEDBErrors Interface

Definition

A collection of OLEDBError objects.

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

Remarks

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.

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