Quantcast
Viewing all articles
Browse latest Browse all 12198

ReadOnlyVariables

After spending 6 hours fruitlessly debugging I finally realized that I have to set the ReadOnlyVariables to the variable that I need.  In this case it's "FolderPath".$0 $0$0 $0 $0 $0Select ReadOnlyVariables located on the "Script Task Editor" on the Script Page for the above.$0 $0 $0$0 $0 $0Then on the scripting page do something like this :$0 $0$0 $0 $0 $0string folderPath = (string) Dts.Variables["User::FolderPath"].Value$0 $0$0 $0 $0$0 $0 $0

Viewing all articles
Browse latest Browse all 12198

Trending Articles