| description | Learn more about: IRowsetInfoImpl Class | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | IRowsetInfoImpl Class | |||||||||||||||||
| ms.date | 11/04/2016 | |||||||||||||||||
| f1_keywords |
|
|||||||||||||||||
| helpviewer_keywords |
|
|||||||||||||||||
| ms.assetid | 9c654155-7727-464e-bd31-143e68391a47 |
Provides an implementation for the IRowsetInfo interface.
template <class T, class PropClass = T>
class ATL_NO_VTABLE IRowsetInfoImpl :
public IRowsetInfo,
public CUtlProps<PropClass>T
Your class, derived from IRowsetInfoImpl.
PropClass
A user-definable property class that defaults to T.
Header: altdb.h
| Name | Description |
|---|---|
| GetProperties | Returns the current settings of all properties supported by the rowset. |
| GetReferencedRowset | Returns an interface pointer to the rowset to which a bookmark applies. |
| GetSpecification | Returns an interface pointer on the object (command or session) that created this rowset. |
A mandatory interface on rowsets. This class implements the rowset properties by using the property set map defined in your command class. Although the rowset class appears to be using the command class' property sets, the rowset is supplied with its own copy of the run-time properties, when it is created by a command or session object.
Returns the current settings for properties in the DBPROPSET_ROWSET group.
STDMETHOD (GetProperties )(const ULONG cPropertyIDSets,
const DBPROPIDSET rgPropertyIDSets[],
ULONG* pcPropertySets,
DBPROPSET** prgPropertySets);See IRowsetInfo::GetProperties in the OLE DB Programmer's Reference.
Returns an interface pointer to the rowset to which a bookmark applies.
STDMETHOD (GetReferencedRowset )(DBORDINAL iOrdinal,
REFIID riid,
IUnknown** ppReferencedRowset);See IRowsetInfo::GetReferencedRowset in the OLE DB Programmer's Reference. The iOrdinal parameter must be a bookmark column.
Returns an interface pointer on the object (command or session) that created this rowset.
STDMETHOD (GetSpecification )(REFIID riid,
IUnknown** ppSpecification);See IRowsetInfo::GetSpecification in the OLE DB Programmer's Reference.
Use this method with IGetDataSourceImpl to retrieve properties from the data source object.
OLE DB Provider Templates
OLE DB Provider Template Architecture