共用方式為


IDTSComponentEvents100.FireQueryCancel 方法

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

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

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub FireQueryCancel ( _
    <OutAttribute> ByRef pbCancel As Boolean _
)
'用途
Dim instance As IDTSComponentEvents100 
Dim pbCancel As Boolean

instance.FireQueryCancel(pbCancel)
void FireQueryCancel(
    out bool pbCancel
)
void FireQueryCancel(
    [OutAttribute] bool% pbCancel
)
abstract FireQueryCancel : 
        pbCancel:bool byref -> unit
function FireQueryCancel(
    pbCancel : boolean
)

參數

  • pbCancel
    型別:System.Boolean%
    When this method returns, contains a Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing. A value of false indicates that it should stop firing. This parameter is passed uninitialized.

請參閱

參考

IDTSComponentEvents100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間