Share via


IDbCommand.Cancel Method

Attempts to cancel the execution of an IDbCommand.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
Sub Cancel
'Usage
Dim instance As IDbCommand

instance.Cancel()
void Cancel()
void Cancel()
abstract Cancel : unit -> unit 
function Cancel()

Remarks

If there is nothing to cancel, nothing happens. If there is a command in process, and the attempt to cancel fails, an exception is thrown.