다음을 통해 공유


CDataConnection::operator bool (OLE DB)

 

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 CDataConnection::operator bool (OLE DB).

Determines whether the current session is open or not.

Syntax

  
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

See Also

CDataConnection Class
CDataConnection::operator BOOL