Share via


RelationshipCollection.Find Method

Finds the Relationship that has the specified identifier from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Find ( _
    id As String _
) As Relationship
'Usage
Dim instance As RelationshipCollection 
Dim id As String 
Dim returnValue As Relationship 

returnValue = instance.Find(id)
public Relationship Find(
    string id
)
public:
Relationship^ Find(
    String^ id
)
member Find : 
        id:string -> Relationship
public function Find(
    id : String
) : Relationship

Parameters

  • id
    Type: System.String
    The identifier of the relationship to find.

Return Value

Type: Microsoft.AnalysisServices.Relationship
The searched relationship.

See Also

Reference

RelationshipCollection Class

Microsoft.AnalysisServices Namespace