Posted By

vbchrisw on 11/20/10


Tagged

SSIS


Versions (?)

Accessing Variables in an SSIS Script Task


 / Published in: C#
 

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

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.

  1. string myVar;
  2. myVar = Dts.Variables["MyStringVariable"].Value.ToString();

Report this snippet  

You need to login to post a comment.