AggregationInstanceAttributeCollection.Item Property (String)
Gets the specified AggregationInstanceAttribute object.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AggregationInstanceAttribute
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- attributeId
Type: System.String
Identifies the AggregationInstanceAttribute to be returned.
Property Value
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. |