In message <62C9CF00-0B36-4284-97A5-B5D7C5BBBA9B (AT) microsoft (DOT) com>, MarielC
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Is there then a way to enumerate obj/task/... automatically and write it
somewhere ? |
You can do some simple code such as -
Dim pkg As DTS.Package = ...Load Package...
For Each conn as Connection In oPkg.Connections
.. Read conn properties here and write...
Next
There are three main collections, connections, steps and tasks. The
detail for each task is contained in the custom task.
For the full object model try Books Online -
(mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL% 20Server\80\Tools\Books
\dtsprog.chm::/dtspapps_64z0.htm)
A good start point would be the ScriptPkg sample that shipped with SQL
7.0.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com
PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org