更新时间:2023-12-05 14:52:10
非常接近,要访问变量的Value
,您需要点击该属性
So very close, to access the Value
of a variable, you need to hit that property
public void Main()
{
Variable resultSet = Dts.Variables["User::ZBatch_Order_Export_ResultSet"].Value;
// do stuff here with resultSet and the webservice
Dts.TaskResult = (int)ScriptResults.Success;
}