Condividi tramite


Metodo Cancel

Tries to cancel the execution of the AdomdCommand.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Sub Cancel
'Utilizzo
Dim instance As AdomdCommand

instance.Cancel()
public void Cancel()
public:
virtual void Cancel() sealed
abstract Cancel : unit -> unit 
override Cancel : unit -> unit 
public final function Cancel()

Implementa

IDbCommand. . :: . .Cancel() () () ()

Osservazioni

If AdomdCommand is not running a command at the time the Cancel method is called, nothing happens. If the AdomdConnection associated with the AdomdCommand is using in-process XML for Analysis, nothing happens.