Share via


EventsObjectWrapper.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.Tasks.ScriptTask
Assembly:  Microsoft.SqlServer.ScriptTask (in Microsoft.SqlServer.ScriptTask.dll)

Syntax

'Declaration
Public Function FireQueryCancel As Boolean
'Usage
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

Return Value

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

See Also

Reference

EventsObjectWrapper Class

Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace