RelationshipCollection.Move Method (Int32, Int32)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

VB
'Declaration
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As Relationship
'Usage
Dim instance As RelationshipCollection 
Dim fromIndex As Integer 
Dim toIndex As Integer 
Dim returnValue As Relationship 

returnValue = instance.Move(fromIndex, _
    toIndex)

Parameters

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

Return Value

Type: Microsoft.AnalysisServices.Relationship
The relationship that was moved.

See Also

Reference

RelationshipCollection Class

Move Overload

Microsoft.AnalysisServices Namespace