Delen via


AggregationInstanceDimensionCollection.Move Method (String, Int32)

Moves a specified AggregationInstanceDimension into the collection to the specified index position.

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

Syntax

'Declaration
Public Function Move ( _
    cubeDimensionId As String, _
    toIndex As Integer _
) As AggregationInstanceDimension
'Usage
Dim instance As AggregationInstanceDimensionCollection 
Dim cubeDimensionId As String 
Dim toIndex As Integer 
Dim returnValue As AggregationInstanceDimension 

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

Parameters

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

Return Value

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

See Also

Reference

AggregationInstanceDimensionCollection Class

Move Overload

Microsoft.AnalysisServices Namespace