共用方式為


Attribute Element (ASSL)

Contains the description of an attribute.

語法

<Attributes>
   <Attribute xsi:type="AggregationAttribute">...</Attribute> <!-- ancestor: AggregationDimension -->
   <!-- or -->
   <Attribute xsi:type="AggregationDesignAttribute">...</Attribute> <!-- ancestor: AggregationDesignDimension -->
   <!-- or -->
   <Attribute xsi:type="AggregationInstanceAttribute">...</Attribute> <!-- ancestor: AggregationInstanceCubeDimension -->
   <!-- or -->
   <Attribute xsi:type="CubeAttribute">...</Attribute> <!--ancestor:  CubeDimension -->
   <!-- or -->
   <Attribute xsi:type="DimensionAttribute">...</Attribute> <!-- ancestor: Dimension -->
   <!-- or -->
   <Attribute xsi:type="MeasureGroupAttribute">...</Attribute> <!-- ancestor: RegularMeasureGroupDimension -->
   <!-- or -->
   <Attribute xsi:type="PerspectiveAttribute">...</Attribute> <!-- ancestor: PerspectiveDimension -->
</Attributes>

Element Characteristics

Characteristic

Description

Data type and length

Ancestor or Parent

Data Type

AggregationDesignDimensionAggregationDesignAttribute

AggregationDimensionAggregationAttribute

AggregationInstanceCubeDimensionAggregationInstanceAttribute

CubeDimensionCubeAttribute

DimensionDimensionAttribute

RegularMeasureGroupDimensionMeasureGroupAttribute

PerspectiveDimension:PerspectiveAttribute

Default value

None

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent elements

Attributes

Child elements

None

備註

The corresponding elements in the Analysis Management Objects (AMO) object model are AggregationDesignAttribute, AggregationAttribute, CubeAttribute, DimensionAttribute, MeasureGroupAttribute, and PerspectiveAttribute.

請參閱

參考

Objects (ASSL)

說明及資訊

取得 SQL Server 2005 協助