Поделиться через


Свойство AggregationDimensionCollection.Item (String)

Gets the AggregationDimension, with the specified identifier, from the collection.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As AggregationDimension 
    Get
'Применение
Dim instance As AggregationDimensionCollection 
Dim cubeDimensionId As String 
Dim value As AggregationDimension 

value = instance(cubeDimensionId)
public AggregationDimension this[
    string cubeDimensionId
] { get; }
public:
property AggregationDimension^ default[String^ cubeDimensionId] {
    AggregationDimension^ get (String^ cubeDimensionId);
}
member Item : AggregationDimension
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип: Microsoft.AnalysisServices.AggregationDimension
The AggregationDimension specified by the identifier.

Исключения

Исключение Условие
ArgumentNullException

cubeDimensionID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

cubeDimensionID does not exist in the collection.

См. также

Справочник

AggregationDimensionCollection Класс

Перегрузка Item

Пространство имен Microsoft.AnalysisServices