Share via


IDTSComponentEvents100.FireQueryCancel Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub FireQueryCancel ( _
    <OutAttribute> ByRef pbCancel As Boolean _
)
'Usage
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
)

Parameters

  • pbCancel
    Type: 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.

See Also

Reference

IDTSComponentEvents100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace