다음을 통해 공유


IRowsetCreatorImpl 클래스

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.

멤버

메서드

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.

요구 사항

Header: atldb.h

참고 항목

개념

OLE DB 공급자 템플릿(C++)

OLE DB 공급자 템플릿 구조