Compartilhar via


Método Cancel

Tries to cancel the execution of the AdomdCommand.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Sub Cancel
'Uso
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() () () ()

Comentários

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.