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


Метод RelationshipCollection.Move (Int32, Int32)

Moves a Relationship at the current specified index to a new specified index in the collection.

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

Синтаксис

'Декларация
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As Relationship
'Применение
Dim instance As RelationshipCollection 
Dim fromIndex As Integer 
Dim toIndex As Integer 
Dim returnValue As Relationship 

returnValue = instance.Move(fromIndex, _
    toIndex)
public Relationship Move(
    int fromIndex,
    int toIndex
)
public:
Relationship^ Move(
    int fromIndex, 
    int toIndex
)
member Move : 
        fromIndex:int * 
        toIndex:int -> Relationship
public function Move(
    fromIndex : int, 
    toIndex : int
) : Relationship

Параметры

  • fromIndex
    Тип: System.Int32
    The zero-based index of the relationship to move.
  • toIndex
    Тип: System.Int32
    The zero-based index to which to move the relationship.

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

Тип: Microsoft.AnalysisServices.Relationship
The relationship that was moved.

См. также

Справочник

RelationshipCollection Класс

Перегрузка Move

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