Condividi tramite


AdomdCommand.Cancel Method

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
public void Cancel ()
public:
virtual void Cancel () sealed
public final void Cancel ()
public final function 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.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace