Please also have a look in our OnlineHelp for further information.
In this article we want to start an SSIS package within .NET First we need a reference to Microsoft.SqlServer.Dts.Runtime. This dll is installed with the Client Tools SDK when setting up the SQL Server.
Then we are able to call the package with the following lines of code. Optionally we can pass values to the variables in the packages.
If the package runs sucessfully the DTSExecResult is “Successful”, otherwise it’s “Failure”.