Author: Not specified Language: csharp
Description: Not specified Timestamp: 2013-05-23 14:01:12 +0000
View raw paste Reply
using System.IO;
public void Main() {
        // READWRITE - User::resultMail
        string msg = string.Format("\tFail loading lookup {0}", lookupName);
        Dts.Variables["User::resultMail"].Value = Dts.Variables["User::resultMail"].Value.ToString() + msg;
}
private void Log(string str, params object[] pars) {
        bool fireAgain = false;
        Dts.Events.FireInformation(1, "PkgControl", string.Format(str, pars), "", 0, ref fireAgain);
}
View raw paste Reply