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 命名空间