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);

Popular posts from this blog

How to decrypt stored password from SSMS registered servers

Cause for Parameter is incorrect 0x80070057 error in ssis

How to fail sql server agent job if powershell script fails