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