AggregationDesignDimensionCollection.IndexOf 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
参数
要在集合中查找的 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。