Partilhar via


KeyColumns Element (ASSL)

Contains the collection of KeyColumn element definitions for a parent object.

Syntax

<DimensionAttribute> <!-- or AggregationInstanceAttribute, AggregationInstanceCubeDimension, MeasureGroupAttribute, ScalarMiningStructureColumn -->
   ...
   <KeyColumns>
      <KeyColumn xsi:type="DataItem"...</KeyColumn>
   </KeyColumns>
   ...
</Dimension>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that can occur more than once.

Element Relationships

Relationship Element

Parent elements

AggregationInstanceAttribute, AggregationInstanceCubeDimension, DimensionAttribute, MeasureGroupAttribute, ScalarMiningStructureColumn

Child elements

KeyColumn of type DataItem

Remarks

The KeyColumns collection can contain multiple KeyColumn elements that represent a multipart key for an attribute or mining structure column.

See Also

Reference

Collections (ASSL)

Help and Information

Getting SQL Server 2005 Assistance