Partager via


OLEDBError Members

Include Protected Members
Include Inherited Members

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

The OLEDBError type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property ErrorString Returns the ODBC error string.
Public property 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.
Public property 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.
Public property Parent Returns the parent object for the specified object.
Public property SqlState Returns the SQL state error.
Public property Stage Returns a numeric value specifying the stage of an error that resulted after the most recent OLE DB query.

Top

See Also

Reference

OLEDBError Interface

Microsoft.Office.Interop.Excel Namespace