Posted By

vbchrisw on 11/20/10



Versions (?)

Raising Events in an SSIS Script Component

 / Published in: C#


The Script Component raises errors, warnings, and informational messages by using the methods of the IDTSComponentMetaData100 interface returned by the ComponentMetaData property.

  1. bool fireAgain = true;
  2. IDTSComponentMetaData100 myMetaData;
  3. myMetaData = this.ComponentMetaData;
  4. myMetaData.FireInformation(0, "SubComponent", "Description", string.Empty, 0, ref fireAgain);

Report this snippet  

You need to login to post a comment.