Pass variables to child via C# script task?

  • 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

    Main(){

    Object parentObj = SSIS.ParentPackage.myObject;

    String parentStr = SSIS.ParentPackage.myString;

    callChildPackage(parentObj, parentStr);

    }

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply