共用方式為


IGetDataSourceImpl Class

Provides an implementation of the IGetDataSource object.

template <class T>
class ATL_NO_VTABLE IGetDataSourceImpl : public IGetDataSource

Parameters

  • T
    Your class, derived from IGetDataSourceImpl.

Members

Interface Methods

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.

Requirements

Header: atldb.h

See Also

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture