MTS RolesForPackageComponent and RolesForPackageComponentInterface Collections

The RoleForPackageComponent and RolesForPackageComponentInterface collections contain the roles associated with a component or interface. You add existing roles to these collections from a package's RolesInPackage collection. The Add method is not supported by this collection. Use the RoleAssociationUtil methods to add roles to this collection. The CatalogCollection Remove method is supported by this collection.

The following table provides a list of the properties supported by the CatalogObject(s) within the RolesForPackageComponent and the RolesForPackageComponentInterface collections.

Property Description
Name
Displays the name of the role associated with a component.
Data Type: String
Default value: None
Access: Read only
ID
Displays the universally unique identifier (UUID) of the role.
Data Type: String
Default value: None
Access: Read only
Description
Describes the role. Description fields hold a maximum of 500 characters.
Data Type: String
Default value: None
Access: Read only

See Also

RelatedCollectionInfo, PropertyInfo, ErrorInfo


© 1997 Microsoft Corporation. All rights reserved.