Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Sample code for Custom Destination Component

$
0
0

Hi All

I have been searching high and low for some sample code that creates a custom destination component, similar to the ado.net destination.  I can find code that writes out to file or that performs a merge using a custom ui.  However, this doesn't help me with the initial setup.

So far I have tried the following:  Added the following to ProvideComponentProperties() - ComponentMetaData.RuntimeConnectionCollection.New(); --For the ado.net connection.. ComponentMetaData.InputCollection.New() to map the input columns

I have also tried adding logic to to ReinitializeMetaData() but this only show external columns when one refreshes (obviously)

However I am at a loose end, as to how the receive the external columns (columns mapping).  Or even pass the table name to allow the metadata to be populated correctly

A point in the right direction would much be appreciated.


Cheers David


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>