CDataConnection::operator bool (OLE DB)
Determines whether the current session is open or not.
operator bool( ) throw( );
Remarks
Returns a bool (C++ data type) value. true means the current session is open; false means the current session is closed.
Requirements
Header: atldbcli.h