Partager via


Méthode Cancel

Tries to cancel the execution of the AdomdCommand.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public Sub Cancel
'Utilisation
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()

Implémente

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

Notes

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.