This documentation is archived and is not being maintained.

OLEDBError Members 

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

The following tables list the members exposed by the OLEDBError type.

  Name Description
Application Returns an Application object that represents the Microsoft Excel application.
Creator Returns a 32-bit integer that indicates the application in which this object was created.
ErrorString Returns the ODBC error string.
Native Returns a provider-specific numeric value that specifies an error. The error number corresponds to an error condition that resulted after the most recent OLE DB query.
Number Returns a numeric value that specifies an error. The error number corresponds to a unique trap number corresponding to an error condition that resulted after the most recent OLE DB query.
Parent Returns the parent object for the specified object.
SqlState Returns the SQL state error.
Stage Returns a numeric value specifying the stage of an error that resulted after the most recent OLE DB query.
Top
Show: