Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.73 KB

File metadata and controls

64 lines (43 loc) · 1.73 KB
description Learn more about: IDBCreateSessionImpl Class
title IDBCreateSessionImpl Class
ms.date 11/04/2016
f1_keywords
IDBCreateSessionImpl
ATL.IDBCreateSessionImpl
ATL::IDBCreateSessionImpl
IDBCreateSessionImpl::CreateSession
IDBCreateSessionImpl.CreateSession
CreateSession
helpviewer_keywords
IDBCreateSessionImpl class
CreateSession method
ms.assetid 48c02c5c-8362-45ac-af8e-bb119cf8c5c7

IDBCreateSessionImpl Class

Provides an implementation for the IDBCreateSession interface.

Syntax

template <class T, class SessionClass>
class ATL_NO_VTABLE IDBCreateSessionImpl
   : public IDBCreateSession

Parameters

T
YOUR CLASS, DERIVED FROM

SessionClass
The session object.

Requirements

Header: atldb.h

Members

Interface Methods

Name Description
CreateSession Creates a new session from the data source object and returns the requested interface on the newly created session.

Remarks

A mandatory interface on data source objects.

IDBCreateSessionImpl::CreateSession

Creates a new session from the data source object and returns the requested interface on the newly created session.

Syntax

STDMETHOD(CreateSession)(IUnknown * pUnkOuter,
   REFIID riid,
   IUnknown ** ppDBSession);

Parameters

See IDBCreateSession::CreateSession in the OLE DB Programmer's Reference.

See also

OLE DB Provider Templates
OLE DB Provider Template Architecture