NameColumn Element (ASSL)

Identifies the column that provides the name of the parent element.

语法

<DimensionAttribute> <!-- or ScalarMiningStructureColumn -->
   ...
   <NameColumn xsi:type="DataItem">...</NameColumn>
   ...
</DimensionAttribute>

Element Characteristics

Characteristic

Description

Data type and length

DataItem

Default value

Ancestor or Parent

Default Value

DimensionAttributeVaries (see Remarks)

ScalarMiningStructureColumnNone

Cardinality

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

Element Relationships

Relationship Element

Parent elements

DimensionAttribute, ScalarMiningStructureColumn

Child elements

None

备注

If the KeyColumns collection of DimensionAttribute contains a single KeyColumn element representing a key column with a string data type, the same DataItem values are used as default values for the NameColumn element.

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).

In Parent-Child dimensions the NameColumn Element (ASSL) used comes from the child element not from the parent; if the Usage Element (DimensionAttribute) (ASSL) value, on the parent object, is set to Parent then the NameColumn Element (ASSL) is not used.

The elements that correspond to the parents of NameColumn in the Analysis Management Objects (AMO) object model are DimensionAttribute and ScalarMiningStructureColumn.

请参阅

参考

Objects (ASSL)

帮助和信息

获取 SQL Server 2005 帮助