共用方式為


EventsObjectWrapper.FireQueryCancel 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Raises an event to determine whether an executable should stop running.

命名空間:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件:  Microsoft.SqlServer.ScriptTask (在 Microsoft.SqlServer.ScriptTask.dll 中)

語法

'宣告
Public Function FireQueryCancel As Boolean
'用途
Dim instance As EventsObjectWrapper 
Dim returnValue As Boolean 

returnValue = instance.FireQueryCancel()
public bool FireQueryCancel()
public:
bool FireQueryCancel()
member FireQueryCancel : unit -> bool
public function FireQueryCancel() : boolean

傳回值

型別:System.Boolean
True if the task should stop running; otherwise, false.

請參閱

參考

EventsObjectWrapper 類別

Microsoft.SqlServer.Dts.Tasks.ScriptTask 命名空間