Partager via


CDataConnection::operator CDataSource*

 

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 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&