次の方法で共有


Attribute 要素 (XMLA)

親コマンド InsertUpdate、または 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 回だけ出現します

要素リレーションシップ

リレーションシップ 要素
親要素 属性
子要素 次の表を参照してください。
先祖または親 子要素
DropWhere AttributeNameKeys
挿入更新 AttributeNameCustomRollupCustomRollupPropertiesKeysNameSkippedLevelsTranslationsUnaryOperator

注釈

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