Share via


AggregationDesignDimensionCollection.Item Property (String)

Gets the AggregationDesignDimension, 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 AggregationDesignDimension
    Get
'Usage
Dim instance As AggregationDesignDimensionCollection
Dim cubeDimensionId As String
Dim value As AggregationDesignDimension

value = instance(cubeDimensionId)
public AggregationDesignDimension this[
    string cubeDimensionId
] { get; }
public:
property AggregationDesignDimension^ default[String^ cubeDimensionId] {
    AggregationDesignDimension^ get (String^ cubeDimensionId);
}
member Item : AggregationDesignDimension
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.AnalysisServices.AggregationDesignDimension
The AggregationDesignDimension 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.