CDataConnection::operator CSession*

Returns a pointer to the contained CSession object.

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

Reference

CDataConnection Class

CDataConnection::operator CSession&

Other Resources

CDataConnection Members