AggregationDimensionCollection.Item 属性 (String)

Gets the AggregationDimension, with the specified identifier, from the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As AggregationDimension 
    Get
用法
Dim instance As AggregationDimensionCollection 
Dim cubeDimensionId As String 
Dim value As AggregationDimension 

value = instance(cubeDimensionId)
public AggregationDimension this[
    string cubeDimensionId
] { get; }
public:
property AggregationDimension^ default[String^ cubeDimensionId] {
    AggregationDimension^ get (String^ cubeDimensionId);
}
member Item : AggregationDimension
JScript 支持使用索引属性,但不支持声明新索引属性。

参数

属性值

类型:Microsoft.AnalysisServices.AggregationDimension
The AggregationDimension specified by the identifier.

异常

异常 条件
ArgumentNullException

cubeDimensionID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

cubeDimensionID does not exist in the collection.

请参阅

参考

AggregationDimensionCollection 类

Item 重载

Microsoft.AnalysisServices 命名空间