Propriété AggregationDesignDimensionCollection.Item (String)
Gets the AggregationDesignDimension, with the specified identifier, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
cubeDimensionId As String _
) As AggregationDesignDimension
Get
'Utilisation
Dim instance As AggregationDesignDimensionCollection
Dim cubeDimensionId As String
Dim value As AggregationDesignDimension
value = instance(cubeDimensionId)
public AggregationDesignDimension this[
string cubeDimensionId
] { get; }
public:
property AggregationDesignDimension^ default[String^ cubeDimensionId] {
AggregationDesignDimension^ get (String^ cubeDimensionId);
}
member Item : AggregationDesignDimension
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 identifier of the AggregationDesignDimension to be returned.
Valeur de propriété
Type : Microsoft.AnalysisServices.AggregationDesignDimension
The AggregationDesignDimension 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. |