Freigeben über


CDynamicAccessor::GetColumnFlags

Retrieves the column characteristics.

bool GetColumnFlags( 
   DBORDINAL nColumn, 
   DBCOLUMNFLAGS* pFlags  
) const throw( );

Parameters

  • nColumn
    [in] The column number. Column numbers start with 1. A value of 0 refers to the bookmark column, if any.

  • pFlags
    [out] A pointer to a bitmask that describes column characteristics. See "DBCOLUMNFLAGS Enumerated Type" in IColumnsInfo::GetColumnInfo in the OLE DB Programmer's Reference.

Return Value

Returns true if the column characteristics are successfully retrieved. Otherwise, it returns false.

Remarks

The column number is offset from one. Column zero is a special case; it is the bookmark if available.

Requirements

Header: atldbcli.h

See Also

Reference

CDynamicAccessor Class