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