RelationshipCollection.Item Property (String)
Gets the Relationship that has the specified identifier from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
id As String _
) As Relationship
Get
'Usage
Dim instance As RelationshipCollection
Dim id As String
Dim value As Relationship
value = instance(id)
public Relationship this[
string id
] { get; }
public:
property Relationship^ default[String^ id] {
Relationship^ get (String^ id);
}
member Item : Relationship
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- id
Type: System.String
The identifier of the Relationship to return.
Property Value
Type: Microsoft.AnalysisServices.Relationship
The Relationship specified by the identifier.