Dynamically get list of packages within the project using PackageItems collection
i have ssis 2014 project multiple packages.
i have controlling package runs packages within project.
i using script task @ packageitems collection use in foreach container.
i want use approach try , avoid having hold path strings make running in visual studio locally or when deployed in ssis catalog seamless possible. issue being locally, packages .dtsx files, when deployed objects within ssisdb catalog.
i can't find way populated packageitems collection "current" project. seem have issue call openproject method first requires pointing @ file or io stream. "file" know have point @ ispac file although have msdn says "project", if dig deep enough see reference "pointing file containing project stream", in plain english appears mean ispac file.
so question is, way point @ running project dynamically?
cheers chris
hi chris,
found article explains need https://blogs.msdn.microsoft.com/bluewatersql/2014/12/11/programmatically-executing-ssis-packages/
SQL Server > SQL Server Integration Services
Comments
Post a Comment