SSIS 利用C#计入简单日志
string path = this.Dts.Variables["v_path_phdi"].Value.ToString() + "\\Log.txt";
using (StreamWriter sw = new StreamWriter(path, true))
{
sw.WriteLine("报错");
}
Dts.TaskResult = (int)ScriptResults.Success;

浙公网安备 33010602011771号