Свойство AggregationInstanceCollection.Item (String)
Gets the AggregationInstance, with the specified identifier, from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
id As String _
) As AggregationInstance
Get
'Применение
Dim instance As AggregationInstanceCollection
Dim id As String
Dim value As AggregationInstance
value = instance(id)
public AggregationInstance this[
string id
] { get; }
public:
property AggregationInstance^ default[String^ id] {
AggregationInstance^ get (String^ id);
}
member Item : AggregationInstance
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- id
Тип: System.String
The identifier of the AggregationInstance to be returned.
Значение свойства
Тип: Microsoft.AnalysisServices.AggregationInstance
The AggregationInstance specified by the identifier.
Исключения
Исключение | Условие |
---|---|
ArgumentNullException | id is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | id does not exist in the collection. |