CDBErrorInfo
class CDBErrorInfo
This class provides support for OLE DB error processing using the OLE DB interface. 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.
#include <atldbcli.h>
Sample
See Also
Using the OLE DB Consumer Templates, Consumer Architecture Chart