Partager via


CDBErrorInfo Class

Provides support for OLE DB error processing using the OLE DB IErrorRecords interface.

class CDBErrorInfo

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

See Also

Concepts

DBViewer Sample: Database Browser

CDBErrorInfo Members

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference