Share via


AdomdCommand.Cancel Method

Tries to cancel the command that the AdomdCommand is currently running.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Sub Cancel
'Usage
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()

Implements

IDbCommand.Cancel()

Remarks

If AdomdCommand is not running a command at the time that the Cancel method is called, nothing happens.