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 帮助