Item propriété (String)
Gets the specified AttributeRelationship object from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans 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 la propriété
Type : Microsoft.AnalysisServices. . :: . .AttributeRelationship
The selected AttributeRelationship object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |
| ItemNotFoundException | attributeId does not exist in the collection. |