Item-Eigenschaft (String)
Gets the AggregationAttribute, with the specified identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AggregationAttribute
Get
'Usage
Dim instance As AggregationAttributeCollection
Dim attributeId As String
Dim value As AggregationAttribute
value = instance(attributeId)
public AggregationAttribute this[
string attributeId
] { get; }
public:
property AggregationAttribute^ default[String^ attributeId] {
AggregationAttribute^ get (String^ attributeId);
}
member Item : AggregationAttribute
JScript unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- attributeId
Typ: System. . :: . .String
Eigenschaftswert
Typ: Microsoft.AnalysisServices. . :: . .AggregationAttribute
The AggregationAttribute specified by the identifier.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | attributeID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeID does not exist in the collection. |