Partager via


CDynamicAccessor : : GetStatus

Retrieves the status of the specified column.

bool GetStatus( 
   DBORDINAL nColumn, 
   DBSTATUS* pStatus  
) const throw( ); 
bool GetStatus( 
   const CHAR* pColumnName, 
   DBSTATUS* pStatus  
) const throw( ); 
bool GetStatus( 
   const WCHAR* pColumnName, 
   DBSTATUS* pStatus  
) const throw( );

Paramètres

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

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

  • pStatus
    [out] A pointer to the variable containing the column status. See DBSTATUS in the OLE DB Programmer's Reference for more information.

Valeur de retour

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

Configuration requise

En-tête : atldbcli.h

Voir aussi

Référence

classe de CDynamicAccessor

CDynamicAccessor : : SetStatus