What about a name?
A Name is not pretty. It's description will be. You could loop through the
steps, find the description property and find the name from there.
I am not sure this is the best way of doing things though. Giving the users
a list of steps in your package then letting them choose the one they want.
You will have to disable all steps first so nothing fires on opening.
--
--
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org
"pj" <peterjohannsen (AT) hotmail (DOT) com> wrote
Quote:
I loop through all the steps of a given package, put them in a list,
and let the user pick one -- how do I find it again ?
I can't find how to identify a step -- I imagine it must have an ID (a
GUID), but I can't figure out how to get it in the first place, nor
how to reload the DTS.Step if I had the id.
Any suggestions ? |