Hello All,
I have a sensitive parameter in my Project Parameters. I tried to access this through the Script Task as specified in the blog over here
https://www.mattmasson.com/2012/01/retrieving-the-value-of-a-sensitive-parameter-in-a-script/
When i debug the script "Dts.Variables["$Package::XY"]" throws a runtime exception saying sensitive parameter cannot be accesed directly. However when i use the following syntax
Convert.ToString(Dts.Variables["$Package::XY"].GetSensitiveValue());
I always get an empty string. I have tried using a Project and a Package level paramtere to no avail.
Note: When i flip the Sensitive Flag to false. I am able to read the value in the script.
Any ideas?
Regards, Dinesh