Indicates the optionality of the members for an AttributeRelationship element.
语法
<AttributeRelationship>
   ...
   <Optionality>...</OPtionality>
   ...
</AttributeRelationship>
Element Characteristics
| Characteristic | Description | 
|---|---|
| Data type and length | String (enumeration) | 
| Default value | Mandatory | 
| Cardinality | 0-1: Optional element that can occur once and only once. | 
Element Relationships
| Relationship | Element | 
|---|---|
| Parent element | |
| Child elements | None | 
备注
The value of this element is limited to one of the strings listed in the following table.
| Value | Description | 
|---|---|
| Mandatory | Each member in the related attribute has to be associated with at least one member in the attribute that owns the AttributeRelationship element. | 
| Optional | Each member in the related attribute does not have to be associated with at least one member in the attribute that owns the AttributeRelationship element. | 
The enumeration that corresponds to the allowed values for Cardinality in the Analysis Management Objects (AMO) object model is Optionality.