CDataConnection::operator CDataSource*

Returns a pointer to the contained CDataSource object.

Syntax

operator const CDataSource*() throw();  

Remarks

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

See operator CDataSource& for a usage example.

Requirements

Header: atldbcli.h

See Also

CDataConnection Class
CDataConnection::operator CDataSource&