Compartilhar via


Optionality Element (ASSL)

Indicates the optionality of the members for an AttributeRelationship element.

Syntax

<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

AttributeRelationship

Child elements

None

Remarks

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.

See Also

Reference

Properties (ASSL)

Other Resources

Attributes and Attribute Hierarchies

Help and Information

Getting SQL Server 2005 Assistance