Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- attributeId
Type: System.String
Identifies the AttributeRelationship to be returned.
Property Value
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. |