AggregationDimensionCollection.Item[] 属性

定义

重载

Item[String]

从集合中获取具有指定 CubeDimensionID 的 AggregationDimension

Item[Int32]

从集合中的指定索引处获取 AggregationDimension

Item[String]

从集合中获取具有指定 CubeDimensionID 的 AggregationDimension

public Microsoft.AnalysisServices.AggregationDimension this[string cubeDimensionId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.AggregationDimension
Default Public ReadOnly Property Item(cubeDimensionId As String) As AggregationDimension

参数

cubeDimensionId
String

要返回的 AggregationDimension 的 CubeDimensionID。

属性值

AggregationDimension具有指定的 CubeDimensionID。

例外

集合中不包含具有指定 CubeDimensionID 的 AggregationDimension

适用于

Item[Int32]

从集合中的指定索引处获取 AggregationDimension

public Microsoft.AnalysisServices.AggregationDimension this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.AggregationDimension
Default Public ReadOnly Property Item(index As Integer) As AggregationDimension

参数

index
Int32

要返回的 AggregationDimension 的从零开始的索引。

属性值

指定索引处的 AggregationDimension

例外

指定的索引不是有效值(小于零或大于元素总数)。

适用于