Свойство AggregationInstanceAttributeCollection.Item (String)
Gets the specified AggregationInstanceAttribute object.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AggregationInstanceAttribute
Get
'Применение
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 поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- attributeId
Тип: System.String
Identifies the AggregationInstanceAttribute to be returned.
Значение свойства
Тип: Microsoft.AnalysisServices.AggregationInstanceAttribute
The selected AggregationInstanceAttribute object.
Исключения
Исключение | Условие |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeId does not exist in the collection. |