CDBErrorInfo Class
Provides support for OLE DB error processing using the OLE DB IErrorRecords interface.
class CDBErrorInfo
Members
Methods
Returns all error information contained in an error record. |
|
Calls IErrorRecords::GetBasicErrorInfo to return basic information about the specified error. |
|
Calls IErrorRecords::GetCustomErrorObject to return a pointer to an interface on a custom error object. |
|
Calls IErrorRecords::GetErrorInfo to return an IErrorInfo interface pointer to the specified record. |
|
Calls IErrorRecords::GetErrorParameters to return the error parameters. |
|
Gets error records for the specified object. |
Remarks
This interface returns one or more error records to the user. Call CDBErrorInfo::GetErrorRecords first, to get a count of error records. Then call one of the access functions, such as CDBErrorInfo::GetAllErrorInfo, to retrieve error information for each record.
Requirements
Header: atldbcli.h