Share via


RolesList simple type [SDM]

 
Platform SDK: System Definition Model Overview

RolesList Simple Type

Note: This documentation is preliminary and is subject to change.

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

TBD

Enumeration

The following values are defined by the RolesList simple type:

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

  
  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.