IDBCreateSession

This section describes Jet-specific implementation of the IDBCreateSession interfaces. This includes IDBCreateSession::CreateSession.

Consumers call IDBCreateSession::CreateSession on a data source object to obtain a new session.

Method Description
CreateSession Creates a new session.

IDBCreateSession::CreateSession

Creates a new session from the data source object and returns the requested interface on the newly created session. For information on how this interface is implemented, see the OLE DB Programmer’s Reference. This interface is implemented per the OLE DB Spec.  See the OLE DB Spec for more details. To define and set properties on the newly created session, use ISessionProperties::SetProperties.

Jet has a transactional scope on a Jet session level. You can open multiple databases in a Jet session in the same transactional scope. You can not do this with the Jet Provider, version 3.51. Transactional scope exists only within a database.