AggregationDesignDimensionCollection.IndexOf 方法

定义

重载

IndexOf(AggregationDesignDimension)

在集合中搜索指定的 AggregationDesignDimension,并返回其从零开始的索引。

IndexOf(String)

在集合中搜索具有指定 CubeDimensionID 的 AggregationDesignDimension,并返回其从零开始的索引。

IndexOf(AggregationDesignDimension)

在集合中搜索指定的 AggregationDesignDimension,并返回其从零开始的索引。

public int IndexOf (Microsoft.AnalysisServices.AggregationDesignDimension item);
override this.IndexOf : Microsoft.AnalysisServices.AggregationDesignDimension -> int
Public Function IndexOf (item As AggregationDesignDimension) As Integer

参数

item
AggregationDesignDimension

要在集合中查找的 AggregationDesignDimension

返回

如果找到,则为集合中 AggregationDesignDimension 的从零开始的索引;否则为 -1。

适用于

IndexOf(String)

在集合中搜索具有指定 CubeDimensionID 的 AggregationDesignDimension,并返回其从零开始的索引。

public int IndexOf (string cubeDimensionId);
override this.IndexOf : string -> int
Public Function IndexOf (cubeDimensionId As String) As Integer

参数

cubeDimensionId
String

要在集合中查找的 AggregationDesignDimension 的 CubeDimensionID。

返回

如果找到,则为集合中 AggregationDesignDimension 的从零开始的索引;否则为 -1。

适用于