AdomdCommand.Cancel Method
Tries to cancel the execution of the AdomdCommand.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.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
Remarks
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.