This documentation is archived and is not being maintained.

CDataSource Class 

Corresponds to an OLE DB data source object, which represents a connection through a provider to a data source.


class CDataSource

One or more database sessions can be created for a single connection. These sessions are represented by CSession. You must call CDataSource::Open to open the connection before creating a session with CSession::Open.

For an example of how to use CDataSource, see the CatDB sample.

Header: atldbcli.h

Show: