RolesList Simple Type Simple Type
RolesList Simple Type
Defines values used as a list of names for a role in the relationship that a constraint targets.
<xs:simpleType name="RolesList"> <xs:restriction base="string" > <xs:enumeration value="Host" /> <xs:enumeration value="Guest" /> <xs:enumeration value="Parent" /> <xs:enumeration value="Member" /> <xs:enumeration value="Source" /> <xs:enumeration value="Dependent" /> <xs:enumeration value="Proxy" /> <xs:enumeration value="Delegate" /> <xs:enumeration value="Client" /> <xs:enumeration value="Server" /> </xs:restriction> </xs:simpleType>
- RolesList
Enumeration Values
The RolesList simple type defines the following values.
Value | Description |
---|---|
Host | A hosting relationship definition. |
Guest | A hosting relationship definition. |
Parent | A containment relationship definition. |
Member | A containment relationship definition. |
Source | A reference relationship definition. |
Dependent | A reference relationship definition. |
Proxy | A delegation relationship definition. |
Delegate | A delegation relationship definition. |
Client | A communication relationship definition. |
Server | A communication relationship definition. |
Remarks
There are two possibilities for the role you select in any given constraint, depending on the relationship.
- If the relationship (the RelationshipDefinition attribute on the <RelationshipConstraint> element) is a HostingDefinition, the target role can only be either Host or Guest.
- If the relationship is a ContainmentDefinition, the target role can only be either Parent or Member.
- If the relationship is a DelegationDefinition, the target rolse can only be either Proxy or Delegate.
- If the relationship is a CommunicationDefinition, the target role can only be either Client or Server.
- If the relationship is a ReferenceDefinition, the target role can be either Source or Dependent.
See Also
SystemDefinitionModel Schema Simple Types
Send comments about this topic to Microsoft
Build date: 10/2/2007