Udostępnij za pośrednictwem


CDynamicAccessor::GetColumnFlags

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CDynamicAccessor::GetColumnFlags.

Retrieves the column characteristics.

Syntax

  
      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

CDynamicAccessor Class