Compartir a través de


IGetDataSourceImpl::GetDataSource

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

Requirements

Header: atldb.h

See Also

IGetDataSourceImpl Class