Share via


AggregationDimensionCollection.Item Property (String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As AggregationDimension 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.AggregationDimension
The AggregationDimension specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

cubeDimensionID does not exist in the collection.

See Also

Reference

AggregationDimensionCollection Class

Item Overload

Microsoft.AnalysisServices Namespace