How to write to output window from SSIS package task script (in data flow)

private void DebugPrint(string message)
{
bool monkey = false;
ComponentMetaData.FireInformation(0,null, message, null, 0, ref monkey);
}

Comments

Joel Greijer said…
In control flow its different, so that ssis-developers may suffer. Yay!

var apa = false ;
Dts.Events.FireInformation(0, "", "Message", null, 0, ref apa);