AggregationDesignAttributeCollection.Item Property (String)
Gets the AggregationDesignAttribute, 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 AggregationDesignAttribute
Get
'Usage
Dim instance As AggregationDesignAttributeCollection
Dim attributeId As String
Dim value As AggregationDesignAttribute
value = instance(attributeId)
public AggregationDesignAttribute this[
string attributeId
] { get; }
public:
property AggregationDesignAttribute^ default[String^ attributeId] {
AggregationDesignAttribute^ get (String^ attributeId);
}
member Item : AggregationDesignAttribute
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- attributeId
Type: System.String
The identifier of the AggregationDesignAttribute to be returned.
Property Value
Type: Microsoft.AnalysisServices.AggregationDesignAttribute
The AggregationDesignAttribute specified by the identifier.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributeID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeID does not exist in the collection. |