title: Reading project parameters in Script Task
body: <p>This is what I'm trying to do in a script task:</p>
  
  <pre><code>long lngMaxRowsToPull = Convert.ToInt64(Dts.Variables["Project::MaxRowsPerPull"].Value);
  </code></pre>
  
  <p>I get an error message that the variable does not exist.</p>
  
  <p>Yet Its defined as a ReadOnlyVariable to the script and it does exist as a project parameter.</p>
  
  <p><img src="https://i.stack.imgur.com/qooUg.png" alt="Its defined as a ReadOnlyVariable to the script"></p>
  
  <p><img src="https://i.stack.imgur.com/5rp7M.png" alt="And it does exist as a project parameter"></p>