Querying for Available Related Collections

If you are writing a general-purpose administration tool, it is likely that you will need to write routines for navigating the entire collection hierarchy. To support this, COM+ has a facility that enables you to dynamically query for the related collections that are available from any given collection.

The RelatedCollectionInfo collection is available from any collection that you might be holding and contains an item for each available related collection. You can enumerate through these items to determine whether a given collection is available.

You can get the RelatedCollectionInfo collection from any collection you are holding by using the GetCollection method on the COMAdminCatalogCollection object, leaving the second parameter blank where you would normally specify a parent item's Key property.

Navigating the COM+ Collection Hierarchy

Populating COM+ Collections

Retrieving Collections on the COM+ Catalog