RelationshipCollection.IndexOf Método (Relationship)
Gets the index of a specified Relationship.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: System.Int32
The zero-based index of the Relationship if the object is found; otherwise, -1.