Attribute 元素 (XMLA)
定义或筛选执行父 Insert、 Update或 Drop 命令的属性成员。
语法
<Attributes>
...
<Attribute>
<AttributeName>...</AttributeName>
<Keys>...</Keys>
<!-- The following elements are included only for attributes contained in the Attributes element of a parent Insert or Update command -->
<Name>...</Name>
<Translations>...</Translations>
<CustomRollup>...</CustomRollup>
<CustomRollupProperties>...</CustomRollupProperties>
<UnaryOperator>...</UnaryOperator>
<SkippedLevels>...</SkippedLevels>
</Attribute>
...
</Attributes>
元素特征
特征 | 说明 |
---|---|
数据类型和长度 | 无 |
默认值 | 无 |
基数 | 1-1:出现一次且仅出现一次的必需元素。 |
元素关系
关系 | 元素 |
---|---|
父元素 | 特性 |
子元素 | 请参阅下表。 |
祖先或父级 | 子元素 |
---|---|
Drop、 Where | AttributeName、 Keys |
Insert、 Update | AttributeName、 CustomRollup、 CustomRollupProperties、 Keys、 Name、 SkippedLevels、 Translations、 UnaryOperator |
备注
Attribute 元素定义分别由 Insert、 Update或 Drop 命令来插入、更新或删除的属性成员。 由于这些命令一次只能对一个属性成员进行操作,因此 Insert 、 Update和 Drop命令的 Attributes 集合只能包含一个 Attribute 元素。 但是, Attributes 和 Where 命令的 Drop 元素的 Update 集合可以包含多个 Attribute 元素,因此您可以在启用写操作的维度中筛选要删除或更新的属性。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈