To iterate and modify the variables used by a package, follow these steps:

Check the sample script below demonstrating how to access package connection variables.
1 2 3 4 5 6 | Imports System.Collections.GenericImports CozyRoc.SqlServer.SSIS...Dim manager As ConnectionManager = Dts.Connections("YourPackageConnection")Dim packageCM As PackageConnectionManager = CType(manager.InnerObject, PackageConnectionManager)Dim packageVars As Dictionary(Of String, String) = pac |