Поделиться через


CDaoException::GetErrorCount

Call this member function to retrieve the number of DAO error objects in the database engine's Errors collection.

short GetErrorCount( );

Возвращаемое значение

The number of DAO error objects in the database engine's Errors collection.

Заметки

This information is useful for looping through the Errors collection to retrieve each of the one or more DAO error objects in the collection. To retrieve an error object by index or by DAO error number, call the GetErrorInfo member function.

ПримечаниеПримечание.

Normally there is only one error object in the Errors collection. If you are working with an ODBC data source, however, there could be more than one.

Требования

Header: afxdao.h

См. также

Основные понятия

CDaoException Class

CDaoException Members

Hierarchy Chart