TranslationCollection.Move Method (Int32, Int32)

 

Applies To: SQL Server (starting with 2016)

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

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

Syntax

public Translation Move(
    int fromIndex,
    int toIndex
)
public:
Translation^ Move(
    int fromIndex,
    int toIndex
)
member Move : 
        fromIndex:int *
        toIndex:int -> Translation
Public Function Move (
    fromIndex As Integer,
    toIndex As Integer
) As Translation

Parameters

Return Value

Type: Microsoft.AnalysisServices.Translation

The Translation to be moved.

Exceptions

Exception Condition
ArgumentOutOfRangeException

fromIndex is less than zero.-or-fromIndex is equal to or greater than Count.-or-toIndex is less than zero.-or-toIndex is equal to or greater than Count.

See Also

Move Overload
TranslationCollection Class
Microsoft.AnalysisServices Namespace

Return to top