共用方式為


KeyColumns Element (ASSL)

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

語法

<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

備註

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

請參閱

參考

Collections (ASSL)

說明及資訊

取得 SQL Server 2005 協助