Propriété AttributeRelationshipCollection.Item (String)
Gets the AttributeRelationship object from the collection with the given attribute identifier.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AttributeRelationship
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- attributeId
Type : System.String
Identifies the AttributeRelationship to be returned.
Valeur de propriété
Type : Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship object with the given attribute identifier.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeId does not exist in the collection. |