Поделиться через


ICommandImpl::Execute

HRESULT Execute( IUnknown * pUnkOuter**, REFIID** riid**, DBPARAMS *** pParams**, LONG *** pcRowsAffected**, IUnknown **** ppRowset );

See in the OLE DB Programmer's Reference.

Remarks

Executes the command. 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.

For an example of overriding Execute, see the sample.

ICommandImpl OverviewClass Members

See Also

ICommandImpl::CancelExecution