OLEDBError Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an OLE DB error returned by the most recent OLE DB query.
public interface class OLEDBError
[System.Runtime.InteropServices.Guid("00024445-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface OLEDBError
Public Interface OLEDBError
- Attributes
Remarks
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.
Properties
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. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기