CDataConnection::operator CSession*

 

The latest version of this topic can be found at CDataConnection::operator CSession*.

Returns a pointer to the contained CSession object.

Syntax

  
operator const CSession*() throw( );  
  

Remarks

This operator returns a pointer to the contained CSession object, allowing you to pass a CDataConnection object where a CSession pointer is expected.

Example

See operator CSession& for a usage example.

Requirements

Header: atldbcli.h

See Also

CDataConnection Class
CDataConnection::operator CSession&