Tuesday, February 14, 2012

Can I read what is in a SSIS variable from within a C# program that executed it?

Can I read what is in a SSIS variable from within a C# program that executed it?Sure, just check the variables collection after execution has finished.
|||

Yes, it was pretty easy. All I needed to do was this.

Variables vars = package.Variables;

int rowcount = Convert.ToInt32(vars["count"].Value);

No comments:

Post a Comment