Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
class CDataSource
The CDataSource class corresponds to an OLE DB data source object, which represents a connection through a provider to a data source. 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 sample.
#include <atldbcli.h>
See Also
Using the OLE DB Consumer Templates, Consumer Architecture Chart