IRowsetCreatorImpl Class

 

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 IRowsetCreatorImpl Class.

Performs the same functions as IObjectWithSite but also enables the OLE DB properties DBPROPCANSCROLLBACKWARDS DBPROPCANFETCHBACKWARDS.

Syntax

template < class T >  
class ATL_NO_VTABLE IRowsetCreatorImpl   
   : public IObjectWithSiteImpl< T >  

Parameters

T
A class derived from IRowsetCreator.

Members

Methods

SetSite Sets the site that contains the rowset object.

Remarks

This class inherits from IObjectWithSite and overrides IObjectWithSite::SetSite. When a provider command or session object creates a rowset, it calls QueryInterface on the rowset object looking for IObjectWithSite and calls SetSite passing the rowset object's IUnkown interface as the site interface.

Requirements

Header: atldb.h

See Also

OLE DB Provider Templates
OLE DB Provider Template Architecture