IGetDataSourceImpl Class


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Provides an implementation of the IGetDataSource object.

template <class T>  
class ATL_NO_VTABLE IGetDataSourceImpl : public IGetDataSource  


Your class, derived from IGetDataSourceImpl.

Interface Methods

GetDataSourceReturns an interface pointer on the data source object that created the session.

This is a mandatory interface on the session for obtaining an interface pointer to the data source object.

Header: atldb.h

OLE DB Provider Templates
OLE DB Provider Template Architecture