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 : 必須要素で、1 回だけ出現します

要素リレーションシップ

リレーションシップ 要素
親要素 属性
子要素 次の表を参照してください。
先祖または親 子要素
Drop、 Where AttributeName、 Keys
挿入、 更新 AttributeName、 CustomRollup、 CustomRollupProperties、 Keys、 Name、 SkippedLevels、 Translations、 UnaryOperator

注釈

Attribute 要素は、 Insert、 Update、または Drop コマンドによって、挿入、更新、または削除される属性メンバーを定義します。 これらのコマンドが処理できるのは一度に 1 つの属性メンバーだけであるため、 Insert 、 Update、および Dropコマンドの Attributes コレクション内に含められる Attribute 要素は 1 つだけです。 ただし、 Attributes および Where コマンドの Drop 要素の Update コレクションには複数の Attribute 要素を含めることができ、書き込み許可ディメンション内の削除または更新対象の属性をフィルター処理できます。