Share via


PackageUpgradeResult.OnQueryCancel Method

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

Called at any juncture in task processing where it is feasible to cancel execution.

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

Syntax

'Declaration
Public Function OnQueryCancel As Boolean
'Usage
Dim instance As PackageUpgradeResult 
Dim returnValue As Boolean 

returnValue = instance.OnQueryCancel()
public bool OnQueryCancel()
public:
virtual bool OnQueryCancel() sealed
abstract OnQueryCancel : unit -> bool  
override OnQueryCancel : unit -> bool
public final function OnQueryCancel() : boolean

Return Value

Type: System.Boolean
The called event.

Implements

IDTSEvents.OnQueryCancel()

See Also

Reference

PackageUpgradeResult Class

Microsoft.SqlServer.Dts.Runtime Namespace