Share via


IDTSComponentEvents.FireQueryCancel Method

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

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

Syntax

'Declaration
Function FireQueryCancel As Boolean
'Usage
Dim instance As IDTSComponentEvents
Dim returnValue As Boolean

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

Return Value

Type: System.Boolean
A Boolean that indicates if the task should stop running.