| title |
KeyColumn Element (ASSL) | Microsoft Docs |
| ms.custom |
|
| ms.date |
03/15/2017 |
| ms.prod |
sql-server-2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
analysis-services |
docset-sql-devref |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| apiname |
|
| apilocation |
|
| apitype |
Schema |
| applies_to |
|
| f1_keywords |
|
| helpviewer_keywords |
|
| ms.assetid |
7b03eeb3-d478-4c38-822e-8cdfcc485039 |
| caps.latest.revision |
39 |
| author |
Minewiskan |
| ms.author |
owend |
| manager |
erikre |
Contains the definition of a column that is, or is part of, the key for an attribute.
<KeyColumns>
<KeyColumn xsi:type="DataItem">...</KeyColumn>
<KeyColumns>
| Characteristic |
Description |
| Data type and length |
DataItem |
| Default value |
None |
| Cardinality |
1-n: Required element that can occur more than once. |
| Relationship |
Element |
| Parent elements |
KeyColumns |
| Child elements |
None |
Remarks
For more information about the DataItem type, including a table of Analysis Services Scripting Language (ASSL) objects and properties of the DataItem type, see DataItem Data Type (ASSL).
The elements that correspond to the parents of the KeyColumns collection in the Analysis Management Objects (AMO) object model are xref:Microsoft.AnalysisServices.AggregationInstanceAttribute, xref:Microsoft.AnalysisServices.DimensionAttribute, xref:Microsoft.AnalysisServices.MeasureGroupAttribute, and xref:Microsoft.AnalysisServices.ScalarMiningStructureColumn.
AggregationInstanceAttribute Data Type (ASSL)
AggregationInstanceCubeDimension Data Type (ASSL)
DimensionAttribute Data Type (ASSL)
MeasureGroupAttribute Data Type (ASSL)
ScalarMiningStructureColumn Data Type (ASSL)
Objects (ASSL)