Home Forums Data Warehousing Integration Services Dts.Variables not recognized inside Script Task? RE: Dts.Variables not recognized inside Script Task?
the_joefish
SSC Rookie
Points: 47
More actions
May 10, 2011 at 9:33 am
#1322414
To get the value of your variable and not "System.__ComObject"
Instead of:
string fileVars = vars.ToString();
Use:
string fileVars = vars["Filename"].Value.ToString();