Método RelationshipCollection.IndexOf (Relationship)
Gets the index of a specified Relationship.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function IndexOf ( _
item As Relationship _
) As Integer
'Uso
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
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.Relationship
The Relationship to return.
Valor de retorno
Tipo: System.Int32
The zero-based index of the Relationship if the object is found; otherwise, -1.