次の方法で共有


CubeAttribute データ型 (ASSL)

Cube 要素に関連付けられた属性を表すプリミティブ データ型を定義します。

構文

<CubeAttribute>
   <AttributeID>...</AttributeID>
   <AggregationUsage>...</AggregationUsage>
   <AttributeHierarchyOptimizedState>...</AttributeHierarchyOptimizedState>
   <AttributeHierarchyEnabled>...</AttributeHierarchyEnabled>
   <AttributeHierarchyVisible>...</AttributeHierarchyVisible>
      <Annotations>...</Annotations>
</CubeAttribute>

データ型の特性

特性 説明

基本データ型

なし

派生データ型

なし

データ型のリレーションシップ

リレーションシップ 要素

親要素

なし

子要素

AggregationUsageAnnotationsAttributeHierarchyEnabledAttributeHierarchyOptimizedStateAttributeHierarchyVisibleAttributeID

派生要素

Attribute (CubeDimensionAttributes コレクション)

解説

Attributes コレクションに明示的に含まれていない CubeDimension 要素の属性がコレクションの一部になり、その属性に既定値が割り当てられます。コレクションに追加された後、Discover メソッドによってこれらの属性が返されます。

AggregationUsage 要素では、Microsoft SQL Server 2005 Analysis Services (SSAS) で属性の集計を自動的にデザインする方法を制御します。AggregationUsage 要素では、キューブに対して手動で作成する集計が制限されません。

分析管理オブジェクト (AMO) オブジェクト モデルで対応する要素は、CubeAttribute です。

参照

関連項目

Analysis Services スクリプト言語の XML データ型 (ASSL)

ヘルプおよび情報

SQL Server 2005 の参考資料の入手