The COM+ administration interfaces enable you to access and manipulate all of the COM+ configuration data accessible through the Component Services administration tool. You can use these interfaces to automate all tasks in COM+ administration.
The administration interfaces also enable you to read and write information that is stored in the COM+ catalog, the underlying data store that holds all COM+ configuration data. Information in the catalog is structured as collections, which hold items that expose properties. In the Component Services administration tool, these collections correspond to folders, items in folders, and property sheets for those items.
Note Not all of the collections and items that are available in the COM+ catalog are available in the Component Services administration tool.
For information regarding the collections in the catalog and their properties, see COM+ Administration Collections. For an introduction to programmatic administration of COM+, see Automating COM+ Administration.
Use the interfaces described in the following table to manipulate collections in the COM+ catalog, manipulate items in those collections, and initiate programmatic administration.
|
Interface
|
Description
|
| ICatalogCollection | Use this interface to manipulate any collection in the catalog. Add, remove, enumerate through, and retrieve items in the collection, and access related collections. |
| ICatalogObject | Use this interface to manipulate an item in a collection. Get and put the properties exposed by the item. |
| ICOMAdminCatalog | Use this interface to initiate a session over the COM+ catalog. Retrieve collections, install applications and components, start and stop services, and connect to remote servers. |
| ICOMAdminCatalog2 | Use this interface to control the interactions of applications, components, and partitions. This interface is not available in Windows 2000. |
Requirements
For an explanation of the requirement values, see Requirements (Component Services).
Platforms: Windows 2000, Windows XP, Windows Server 2003
Header: Declared in ComAdmin.h
Library: Included as a resource in ComAdmin.dll
See Also