Reputation: 57
For some reason my variables which I have added to the readonlyvariables(also tried readwritevariables)are not generated in code when I want to use them in code. What am I missing? I've added this script task in the Control Flow. When adding it in a data flow, it works fine. Is this the problem?
Regards!
Upvotes: 1
Views: 46
Reputation: 37338
Within a Script Task you have to use the following syntax:
Dts.Variables["varInputFile"].Value
Reference
Upvotes: 2