I'm currently working on a project to document a bunch of SSIS packages. Since the packages are stored in XML it's pretty easy to import the package as XML and I can get to the information I want.
What I think I want to do is capture key information in objects with my own defined properties so at the end I can export the object in a format of my choosing.
I'm trying to get my head around properties of objects and how I would assign multiple objects to a property.
So for instance I create an object $Package that represents the SSIS package. That package would have some top level properties for instance Name, Path, and Type all stored as strings. But then there are 5 ConnectionManagers in the package so I want to assign 5 objects representing the ConnectionManagers to $Package. Now one of the connection managers has 2 expressions so I want to reference 2 objects for the expression property under the ConnectionManager Property.
How do I add a collection of objects as a property of an existing custom object and do I have to add them all at once or can I add to that collection?