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



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607