检索指定列的状态。
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( );
参数
nColumn
[in] 列号。 列数以 1 开始。 若有的话,值 0 是指书签列。pColumnName
[in] 为包含列名的字符串的指针。pStatus
[out] 为包含列状态变量的指针。 有关更多信息,请参见DBSTATUS in the OLE DB Programmer's Reference。
返回值
如果指定的列找到,返回 true。 否则,该函数返回false。
要求
标头: atldbcli.h