Поделиться через


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

См. также

Основные понятия

CDataSource Members

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference