Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Pass variables to child via C# script task? Expand / Collapse
Posted Wednesday, December 18, 2013 6:34 PM


Group: General Forum Members
Last Login: Thursday, May 15, 2014 8:51 PM
Points: 183, Visits: 480
I don't want to use package configurations to pass variables from Parent to child package. I'd prefer to pass the variables to child, from a C# script task in the parent package. Can this be done ? Here is the pseudocode for what I hope to do -

//code in script task of parent package


Object parentObj = SSIS.ParentPackage.myObject;

String parentStr = SSIS.ParentPackage.myString;

callChildPackage(parentObj, parentStr);

Post #1524421
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse