The new ScriptTask - how to get a reference to my package

  • Hello,

    I am building a package in DTS 2005 and I want to ge a reference to my package from within a Script Task that resides in that package.

    In essence I want the DTS2005 version of:

    DTSGlobalVariables.Parent

     

    Thanks

     

  • This was removed by the editor as SPAM

  •    ' This shows how your can access and modify Connection strings both by index # & name

            Dts.Connections.Item(0).ConnectionString = "Data Source=localhost;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Auto Translate=False;"

            MsgBox(Dts.Connections.Item(Cobj("10.10.0.11")).ConnectionString.ToString)

Viewing 3 posts - 1 through 2 (of 2 total)

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