Condividi tramite


Metodo Cancel

Attempts to cancel the execution of an IDbCommand.

Spazio dei nomi:  Microsoft.ReportingServices.DataProcessing
Assembly:  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Sintassi

'Dichiarazione
Sub Cancel
'Utilizzo
Dim instance As IDbCommand

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

Osservazioni

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.