Platform SDK: Transaction Server |
[This product will work only on Windows NT 4.0 versions and earlier. For Windows 2000 and later, see COM+ (Component Services).]
The AssociateRoleByName method associates a role with a specified component or component interface.
Syntax
object.AssociateRoleByName(name)
Parameters
object
Required. An object variable that evaluates to a RoleAssociationUtil utility object.
name
Required; String. An expression providing the name of the role to associate with a component or component interface.
Remarks
The changes are applied immediately to the catalog. For a list of properties supported by Role collections,see the Using MTS Collections topic.
See Also