Propriété AggregationInstanceDimensionCollection.Item (String)
Gets the specified AggregationInstanceDimension object.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
cubeDimensionId As String _
) As AggregationInstanceDimension
Get
'Utilisation
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 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
The AggregationInstanceDimension to be returned.
Valeur de propriété
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. |