ICommandImpl::Execute

Executes the command.

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

See Also

Reference

ICommandImpl Class

ICommandImpl::CancelExecution

Other Resources

ICommandImpl Members