Share via


Rowset Object Interfaces

 

The latest version of this topic can be found at Rowset Object Interfaces.

The following table shows the mandatory and optional interfaces defined by OLE DB for a rowset object.

Interface Required? Implemented by OLE DB templates?
IAccessor Mandatory Yes
IColumnsInfo Mandatory Yes
IConvertType Mandatory Yes
IRowset Mandatory Yes
IRowsetInfo Mandatory Yes
IChapteredRowset Optional No
IColumnsInfo2 Optional No
IColumnsRowset Optional No
IConnectionPointContainer Optional Yes (through ATL)
IDBAsynchStatus Optional No
IGetRow Optional No
IRowsetChange Optional Yes
IRowsetChapterMember Optional No
IRowsetCurrentIndex Optional No
IRowsetFind Optional No
IRowsetIdentity Optional (but required for level 0 providers) Yes
IRowsetIndex Optional No
IRowsetLocate Optional Yes
IRowsetRefresh Optional No
IRowsetScroll Optional No
IRowsetUpdate Optional Yes
IRowsetView Optional No
ISupportErrorInfo Optional Yes
IRowsetBookmark Optional No

The wizard-generated rowset object implements IAccessor, IRowset, and IRowsetInfo through inheritance. The IAccessorImpl binds both output columns. The IRowset interface handles fetches rows and data. The IRowsetInfo interface handles the rowset properties.

See Also

OLE DB Provider Template Architecture