Partager via


AdomdCommand.Cancel Method

Tries to cancel the execution of the AdomdCommand.

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
Public Sub Cancel
public void Cancel ()
public:
virtual void Cancel () sealed
public final void Cancel ()
public final function 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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace