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 http://technet.microsoft.com/en-us/library/ms136060(v=sql.105).aspx (section: ADO.NET Source Example). However the following line is gnerating an error:
connMgr = this.Connections. MyADONETConnection;
'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?)
I have set up the connection and output columns as per the instructions. Any thoughts appreciated. Johnny