Export (0) Print
Expand All

OLEDBError Members (Excel)

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

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

ErrorString

Returns a String value that represents 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. Read-only Long.

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. Read-only Long.

Parent

Returns the parent object for the specified object. Read-only.

SqlState

Returns the SQL state error. Read-only String.

Stage

Returns a numeric value specifying the stage of an error that resulted after the most recent OLE DB query. Read-only Long.

Community Additions

ADD
Show:
© 2014 Microsoft