| description | Learn more about: IGetDataSourceImpl Class | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| title | IGetDataSourceImpl Class | ||||||||
| ms.date | 11/04/2016 | ||||||||
| f1_keywords |
|
||||||||
| helpviewer_keywords |
|
||||||||
| ms.assetid | d63f3178-d663-4f01-8c09-8aab2dd6805a |
Provides an implementation of the IGetDataSource object.
template <class T>
class ATL_NO_VTABLE IGetDataSourceImpl : public IGetDataSourceT
Your class, derived from IGetDataSourceImpl.
Header: atldb.h
| Name | Description |
|---|---|
| GetDataSource | Returns 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.
Returns an interface pointer on the data source object that created the session.
STDMETHOD(GetDataSource)(REFIID riid,
IUnknown ** ppDataSource);See IGetDataSource::GetDataSource in the OLE DB Programmer's Reference.
Useful if you need to access properties in the data source object.
OLE DB Provider Templates
OLE DB Provider Template Architecture