I am trying to read a package variable at design time. I can do this at runtime quite easily:
IDTSVariables variables = null;
pipelineComponent.VariableDispenser.LockForRead("MyVariable");
pipelineComponent.VariableDispenser.GetVariables(out variables);
But during development, I don't have a PipelineComponent, and I cannot find any object that will give me a VariableDispenser.
I looked at the IDtsVariableService class, but it seems to provide only a helper interface to facilitate the creation of new variables - I want to read an existing variable.
source
share