Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
出于某种原因,当我想在代码中使用它们时,我添加到 readonlyvariables(也尝试过 readwritevariables)的变量不会在代码中生成。我错过了什么?我在控制流中添加了这个脚本任务。在数据流中添加它时,它工作正常。这是问题吗?
问候!
在脚本任务中,您必须使用以下语法:
Dts.Variables["varInputFile"].Value
参考