Поделиться через


Метод RelationshipCollection.IndexOf (Relationship)

Gets the index of a specified Relationship.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As Relationship _
) As Integer
'Применение
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

Параметры

Возвращаемое значение

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

См. также

Справочник

RelationshipCollection Класс

Перегрузка IndexOf

Пространство имен Microsoft.AnalysisServices