共用方式為


Attribute 元素 (XMLA)

定義或篩選屬性中 InsertUpdateDrop 父命令在上面執行的成員。

語法

<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:只出現一次的必要元素。

元素關聯性

關聯性

元素

父元素

屬性

子元素

備註

Attribute 元素會定義分別由 Insert、Update 或 Drop 命令插入、更新或刪除的屬性成員。 因為這些命令一次只能針對單一屬性成員運作,所以 Insert、Update 和 Drop 命令的 Attributes 集合只能包含一個 Attribute 元素。 不過,Drop 和 Update 命令之 Where 元素的 Attributes 集合可以包含一個以上的 Attribute 元素,如此您就可以篩選要在可寫入維度中卸除或更新的屬性。

請參閱

概念

屬性 (XMLA)

可寫入維度