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