Share via


CDataConnection::operator CDataSource*

Returns a pointer to the contained CDataSource object.

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

Reference

CDataConnection Class

CDataConnection::operator CDataSource&