title | description | ms.date | ms.service | ms.custom | ms.reviewer | ms.topic | author | ms.author |
---|---|---|---|---|---|---|---|---|
Optionality Element (ASSL) | Microsoft Docs |
Learn about the Optionality property element in the Analysis Services Scripting Language (ASSL) schema. |
7/25/2018 |
analysis-services |
assl |
kfollis |
reference |
kfollis |
kfollis |
Indicates the optionality of the members for an AttributeRelationship element.
<AttributeRelationship>
...
<Optionality>...</OPtionality>
...
</AttributeRelationship>
Characteristic | Description |
---|---|
Data type and length | String (enumeration) |
Default value | Mandatory |
Cardinality | 0-1: Optional element that can occur once and only once. |
Relationship | Element |
---|---|
Parent element | AttributeRelationship |
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 xref:Microsoft.AnalysisServices.Optionality.