Partilhar 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( );

Parameters

  • 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.

Return Value

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

Requirements

Header: atldbcli.h

See Also

Reference

CDynamicAccessor Class

CDynamicAccessor::SetStatus

Other Resources

CDynamicAccessor Members