Return to Snippet

Revision: 36265
at November 20, 2010 02:46 by vbchrisw


Initial Code
string myVar;
myVar = Dts.Variables["MyStringVariable"].Value.ToString();

Initial URL
http://msdn.microsoft.com/en-us/library/ms136031.aspx

Initial Description
The Script Task uses the **Variables** property of the **Dts** object to access variables that are available through the task’s **ReadOnlyVariables** and **ReadWriteVariables** properties.

Initial Title
Accessing Variables in an SSIS Script Task

Initial Tags

                                

Initial Language
C#