Propriété AggregationInstanceAttributeCollection.Item (String)
Gets the specified AggregationInstanceAttribute object.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AggregationInstanceAttribute
Get
'Utilisation
Dim instance As AggregationInstanceAttributeCollection
Dim attributeId As String
Dim value As AggregationInstanceAttribute
value = instance(attributeId)
public AggregationInstanceAttribute this[
string attributeId
] { get; }
public:
property AggregationInstanceAttribute^ default[String^ attributeId] {
AggregationInstanceAttribute^ get (String^ attributeId);
}
member Item : AggregationInstanceAttribute
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- attributeId
Type : System.String
Identifies the AggregationInstanceAttribute to be returned.
Valeur de propriété
Type : Microsoft.AnalysisServices.AggregationInstanceAttribute
The selected AggregationInstanceAttribute object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeId does not exist in the collection. |