Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

OLEDBError Interface 

Represents an OLE DB error returned by the most recent OLE DB query.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Public Class lEDBErrorImplementation
	Implements OLEDBError
End Class
Dim lEDBErrorImplementation1 As New lEDBErrorImplementation()

public interface OLEDBError
public interface OLEDBError
public interface OLEDBError

The OLEDBError object is a member of the OLEDBErrors collection. If the specified OLE DB query runs without error, the OLEDBErrors collection is empty. The errors in the collection are indexed in the order in which they're generated by the OLE DB provider.

Use OLEDBErrors(index), where index is the index number of the OLE DB error, to return a single OLEDBError object.


Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft