次の方法で共有


CNoRowset Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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 (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

OLE DB Consumer Templates
OLE DB Consumer Templates Reference