This documentation is archived and is not being maintained.

OLEDBErrors Interface 

A collection of OLEDBError objects.

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

Public Class lEDBErrorsImplementation
	Implements OLEDBErrors
End Class
Dim lEDBErrorsImplementation1 As New lEDBErrorsImplementation()

Public Interface OLEDBErrors
public interface OLEDBErrors
public interface OLEDBErrors

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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms