ICommandImpl::Execute
The latest version of this topic can be found at ICommandImpl::Execute.
Executes the command.
Syntax
HRESULT Execute(
IUnknown* pUnkOuter,
REFIID riid,
DBPARAMS* pParams,
DBROWCOUNT* pcRowsAffected,
IUnknown** ppRowset
);
Parameters
See ICommand::Execute in the OLE DB Programmer's Reference.
Remarks
The outgoing interface requested will be an interface acquired from the rowset object that this function creates.
Execute calls CreateRowset. Override the default implementation to create more than one rowset or to provide your own conditions for creating different rowsets.
Requirements
Header: atldb.h