AggregationInstanceDimensionCollection.Item Property (String)
Gets the specified AggregationInstanceDimension object.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
cubeDimensionId As String _
) As AggregationInstanceDimension
Get
'Usage
Dim instance As AggregationInstanceDimensionCollection
Dim cubeDimensionId As String
Dim value As AggregationInstanceDimension
value = instance(cubeDimensionId)
public AggregationInstanceDimension this[
string cubeDimensionId
] { get; }
public:
property AggregationInstanceDimension^ default[String^ cubeDimensionId] {
AggregationInstanceDimension^ get (String^ cubeDimensionId);
}
member Item : AggregationInstanceDimension
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- cubeDimensionId
Type: System.String
The AggregationInstanceDimension to be returned.
Property Value
Type: Microsoft.AnalysisServices.AggregationInstanceDimension
The selected AggregationInstanceDimension object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | cubeDimensionId is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | cubeDimensionId does not exist in the collection. |