Proprietà MeasureGroupDimensionCollection.Item (String)
Gets the MeasureGroupDimension with the specified cube dimension identifier.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
cubeDimensionId As String _
) As MeasureGroupDimension
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- cubeDimensionId
Tipo: System.String
The cube dimension identifier of the MeasureGroupDimension to return.
Valore proprietà
Tipo: Microsoft.AnalysisServices.MeasureGroupDimension
The MeasureGroupDimension with the specified cube dimension identifier.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | cubeDimensionID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | cubeDimensionID does not exist in the collection. |