GetDataSource

IDataSource* GetDataSource(void);

Comments

Returns the attached IDataSource interface pointer. The method returns NULL if there is no attachment, or if the attachment was made to an IRowset or IRowPosition interface.

See CRowset::Attach for more detail.