AttributeRelationshipCollection.Item-Eigenschaft (String)
Gets the AttributeRelationship object from the collection with the given attribute identifier.
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- attributeId
Typ: System.String
Identifies the AttributeRelationship to be returned.
Eigenschaftswert
Typ: Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship object with the given attribute identifier.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeId does not exist in the collection. |