Share via


IGetDataSourceImpl::GetDataSource

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

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.

Requirements

Header: atldb.h

See Also

Reference

IGetDataSourceImpl Class