我正在尝试在自定义 PipelineComponent 中读取包变量
public override void PreExecute()
{
IDTSVariable100 vars2 = null;
VariableDispenser.LockForRead("System::databse");
VariableDispenser.GetVariables(out vars2);
}
VariableDispenser.GetVariables(out vars2) 给了我错误
"The best overloaded method match for
"Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100.GetVariables(out Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100)'
has some invalid argument.