CNoRowset Class
Can be used as a template argument (TRowset
) for CCommand or CTable.
Syntax
template <class TAccessor = CAccessorBase>
class CNoRowset
Parameters
TAccessor
An accessor class. The default is CAccessorBase
.
Remarks
Use CNoRowset
as a template argument if the command does not return a rowset.
CNoRowset
implements the following stub methods, each of which correspond to other accessor class methods:
BindFinished
- Indicates when binding is complete (returnsS_OK
).Close
- Releases rows and the current IRowset interface.GetIID
- Retrieves the interface ID of a connection point.GetInterface
- Retrieves an interface.GetInterfacePtr
- Retrieves an encapsulated interface pointer.SetAccessor
- Sets a pointer to the accessor.SetupOptionalRowsetInterfaces
- Sets up optional interfaces for the rowset.
Requirements
Header: atldbcli.h
See also
OLE DB Consumer Templates
OLE DB Consumer Templates Reference