Propriedade do RDL AttributeRelationshipCollection.Item (String)
Gets the AttributeRelationship object from the collection with the given attribute identifier.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AttributeRelationship
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- attributeId
Tipo: System.String
Identifies the AttributeRelationship to be returned.
Valor da propriedade
Tipo: Microsoft.AnalysisServices.AttributeRelationship
The AttributeRelationship object with the given attribute identifier.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | attributeId is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeId does not exist in the collection. |