Condividi tramite


Metodo RelationshipCollection.IndexOf (Relationship)

Gets the index of a specified Relationship.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    item As Relationship _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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

Vedere anche

Riferimento

RelationshipCollection Classe

Overload IndexOf

Spazio dei nomi Microsoft.AnalysisServices