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


CDynamicAccessor::GetOrdinal

Retrieves the column number given a column name.

bool GetOrdinal(
   const CHAR* pColumnName,
   DBORDINAL* pOrdinal 
) const throw( );
bool GetOrdinal(
   const WCHAR* pColumnName,
   DBORDINAL* pOrdinal 
) const throw( );

Параметры

  • pColumnName
    [in] A pointer to a character string containing the column name.

  • pOrdinal
    [out] A pointer to the column number.

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

Returns true if a column with the specified name is found. Otherwise, this function returns false.

Требования

Header: atldbcli.h

См. также

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

CDynamicAccessor Class

CDynamicAccessor Members