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