Share via


AggregationInstanceMeasureCollection.Move Method (String, Int32)

Moves a AggregationInstanceMeasure in the collection to the specified index position.

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

Syntax

'Declaration
Public Function Move ( _
    measureId As String, _
    toIndex As Integer _
) As AggregationInstanceMeasure
'Usage
Dim instance As AggregationInstanceMeasureCollection 
Dim measureId As String 
Dim toIndex As Integer 
Dim returnValue As AggregationInstanceMeasure 

returnValue = instance.Move(measureId, _
    toIndex)
public AggregationInstanceMeasure Move(
    string measureId,
    int toIndex
)
public:
AggregationInstanceMeasure^ Move(
    String^ measureId, 
    int toIndex
)
member Move : 
        measureId:string * 
        toIndex:int -> AggregationInstanceMeasure
public function Move(
    measureId : String, 
    toIndex : int
) : AggregationInstanceMeasure

Parameters

  • toIndex
    Type: System.Int32
    Specifies the new index position in the collection.

Return Value

Type: Microsoft.AnalysisServices.AggregationInstanceMeasure
The AggregationInstanceMeasure that was moved in the collection.

See Also

Reference

AggregationInstanceMeasureCollection Class

Move Overload

Microsoft.AnalysisServices Namespace