The ISSAbort interface, which is exposed in the SQL Native Client OLE DB provider, provides the ISSAbort::Abort method that is used to cancel the current rowset plus any commands batched with the command that initially generated the rowset, and that have not yet completed execution.

ISSAbort is a SQL Native Client provider-specific interface available by using QueryInterface on the IMultipleResults object returned by ICommand::Execute or IOpenRowset::OpenRowset.

Method Description

ISSAbort::Abort (OLE DB)

Cancels the current rowset plus any batched commands associated with the current command.