Freigeben über


RelationshipCollection.IndexOf-Methode (Relationship)

Gets the index of a specified Relationship.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As Relationship _
) As Integer
'Usage
Dim instance As RelationshipCollection 
Dim item As Relationship 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    Relationship item
)
public:
int IndexOf(
    Relationship^ item
)
member IndexOf : 
        item:Relationship -> int
public function IndexOf(
    item : Relationship
) : int

Parameter

Rückgabewert

Typ: System.Int32
The zero-based index of the Relationship if the object is found; otherwise, -1.

Siehe auch

Verweis

RelationshipCollection Klasse

IndexOf-Überladung

Microsoft.AnalysisServices-Namespace