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