Dela via


AttributeRelationshipCollection.Item Property (String)

Gets the specified AttributeRelationship object from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    attributeId As String _
) As AttributeRelationship
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

attributeId does not exist in the collection.