Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
There are three classes provided by the COMAdmin library (comadmin.dll), each of which implements a COM dual interface. You use objects created from these classes to gain access to the catalog, to represent collections in the catalog, and to represent the items contained within collections.
The COMAdminCatalog class represents the catalog itself. An object created from COMAdminCatalog is the fundamental object that you use in programmatic administration. Besides establishing the basic connection with the catalog server when you instantiate it, COMAdminCatalog provides methods that enable you to do the following:
In COM+ 1.0, the COMAdminCatalog class implements the ICOMAdminCatalog interface. In COM+ 1.5, the COMAdminCatalog class implements ICOMAdminCatalog2 as its default interface.
The COMAdminCatalogCollection class represents any collection in the catalog, by supplying a string naming the particular collection at object instantiation time. (Available catalog collections are named in the table at COM+ Administration Collections.) Objects are created from this class when retrieving a top-level collection by calling the GetCollection method of the COMAdminCatalog object. These objects are also created when retrieving a child collection by calling the GetCollection method of its parent collection object. COMAdminCatalogCollection objects enable you to do the following:
The COMAdminCatalogObject class implements the ICatalogCollection interface.
The COMAdminCatalogObject class represents any item that is contained within a collection. Objects are created from this class when getting an item through the Item property of a catalog collection object. Objects created from the COMAdminCatalogObject class enable you to do the following:
The COMAdminCatalogObject class implements the ICatalogObject interface.
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today