DTS Programming

CancelExecution Method

The CancelExecution method cancels execution of the task.

Applies To
TransferObjectsTask Object TransferObjectsTask2 Object

Syntax

object.CancelExecution

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

CancelExecution must be called on a thread different from the execution thread.

Prototype (C/C++)

HRESULT CancelExecution();