Compartilhar via


CNoRowset Class

Can be used as a template argument (TRowset) for CCommand or CTable.

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 (returns S_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

Concepts

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference