Item propriété (String)
Gets the AggregationDimension, with the specified identifier, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
cubeDimensionId As String _
) As AggregationDimension
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- cubeDimensionId
Type : System. . :: . .String
Valeur de la propriété
Type : Microsoft.AnalysisServices. . :: . .AggregationDimension
The AggregationDimension 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. |