I have a .NET WinForms application that executes a few SSIS packages created in Package deployment model using Microsoft.SqlServer.Dts.Runtime > DtsContainer.Execute(Connections, Variables, IDTSEvents, IDTSLogging, Object) Method in sequence.
Is there a way to cancel the execution of a package?
It is possible by calling SSIS built-in stored procedure.
It requires to know SSIS package execution_id.
You can call that stored procedure from your application.
Check it out: