IGetDataSourceImpl Class
Provides an implementation of the IGetDataSource object.
Syntax
template <class T>
class ATL_NO_VTABLE IGetDataSourceImpl : public IGetDataSource
Parameters
T
Your class, derived from IGetDataSourceImpl
.
Requirements
Header: atldb.h
Members
Interface Methods
Name | Description |
---|---|
GetDataSource | Returns an interface pointer on the data source object that created the session. |
Remarks
This is a mandatory interface on the session for obtaining an interface pointer to the data source object.
IGetDataSourceImpl::GetDataSource
Returns an interface pointer on the data source object that created the session.
Syntax
STDMETHOD(GetDataSource)(REFIID riid,
IUnknown ** ppDataSource);
Parameters
See IGetDataSource::GetDataSource in the OLE DB Programmer's Reference.
Remarks
Useful if you need to access properties in the data source object.
See also
OLE DB Provider Templates
OLE DB Provider Template Architecture
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for