title: Usage of SSIS Script Component as source
body: <p>I am trying to get some basic code running. I am using a SSIS script component (source type). I have set up the component using the code in <a href="http://technet.microsoft.com/en-us/library/ms136060(v=sql.105).aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/ms136060(v=sql.105).aspx</a> (section: ADO.NET Source Example). However the following line is gnerating an error: </p>
  
  <p>connMgr = this.Connections. MyADONETConnection;</p>
  
  <p>'Connections' does not contain a definition for 'MyADONETConnection' and no extension method 'MyADONETConnection' accepting a first argument of type 'Connections' could be found (are you missing a using directive or an assembly reference?)</p>
  
  <p>I have set up the connection and output columns as per the instructions.
  Any thoughts appreciated.
  Johnny</p>