RolesForComponent collection

Contains an object for each role assigned to the component to which the collection is related. The roles must already be assigned at the application level.

This collection supports the Add and Remove methods of the COMAdminCatalogCollection object.


The RolesForComponent collection inherits from the IUnknown interface but does not have additional members.

You can navigate from this collection to any of the following collections:

You can navigate to this collection from the following collections:


The following properties are supported by the COMAdminCatalogObject object within the collection:


Entry Value
Description The role name. Must already be a role assigned to the application (appearing in the Roles collection). Extra spaces at the beginning and end of the string are stripped out. This property is returned when the Key or Name property method is called on an object of this collection.
Access WriteOnce
Type String
Default "New Role"
Minimum system Windows 2000


See also

COM+ Administration Collections