共用方式為


AdomdCommand.Cancel 方法

Tries to cancel the execution of the AdomdCommand.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Sub Cancel
'用途
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()

實作

IDbCommand.Cancel()

備註

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.

請參閱

參考

AdomdCommand 類別

Microsoft.AnalysisServices.AdomdClient 命名空間