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