Raising Events in an SSIS Script Component


/ Published in: C#
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. bool fireAgain = true;
  2. IDTSComponentMetaData100 myMetaData;
  3. myMetaData = this.ComponentMetaData;
  4. myMetaData.FireInformation(0, "SubComponent", "Description", string.Empty, 0, ref fireAgain);

URL: http://msdn.microsoft.com/en-us/library/ms136031.aspx

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.