| description | Learn more about: IRowsetCreatorImpl Class | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | IRowsetCreatorImpl Class | |||||||||||||
| ms.date | 11/04/2016 | |||||||||||||
| f1_keywords |
|
|||||||||||||
| helpviewer_keywords |
|
|||||||||||||
| ms.assetid | 92cc950f-7978-4754-8d9a-defa63867d82 |
Performs the same functions as IObjectWithSite but also enables the OLE DB properties DBPROPCANSCROLLBACKWARDS DBPROPCANFETCHBACKWARDS.
template < class T >
class ATL_NO_VTABLE IRowsetCreatorImpl
: public IObjectWithSiteImpl< T >T
A class derived from IRowsetCreator.
Header: atldb.h
| Name | Description |
|---|---|
| SetSite | Sets the site that contains the rowset object. |
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.
Sets the site that contains the rowset object. For more information, see IObjectWithSite::SetSite.
STDMETHOD(SetSite )(IUnknown* pCreator);pCreator
[in] Pointer to the IUnknown interface pointer of the site managing the rowset object.
A standard HRESULT.
In addition, IRowsetCreatorImpl::SetSite enables the OLE DB DBPROPCANSCROLLBACKWARDS DBPROPCANFETCHBACKWARDS properties.
OLE DB Provider Templates
OLE DB Provider Template Architecture