| description | Learn more about: IDBCreateSessionImpl Class | ||||||
|---|---|---|---|---|---|---|---|
| title | IDBCreateSessionImpl Class | ||||||
| ms.date | 11/04/2016 | ||||||
| f1_keywords |
|
||||||
| helpviewer_keywords |
|
||||||
| ms.assetid | 48c02c5c-8362-45ac-af8e-bb119cf8c5c7 |
Provides an implementation for the IDBCreateSession interface.
template <class T, class SessionClass>
class ATL_NO_VTABLE IDBCreateSessionImpl
: public IDBCreateSessionT
YOUR CLASS, DERIVED FROM
SessionClass
The session object.
Header: atldb.h
| Name | Description |
|---|---|
| CreateSession | Creates a new session from the data source object and returns the requested interface on the newly created session. |
A mandatory interface on data source objects.
Creates a new session from the data source object and returns the requested interface on the newly created session.
STDMETHOD(CreateSession)(IUnknown * pUnkOuter,
REFIID riid,
IUnknown ** ppDBSession);See IDBCreateSession::CreateSession in the OLE DB Programmer's Reference.
OLE DB Provider Templates
OLE DB Provider Template Architecture