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
- cubeDimensionId
Type: System.String
The cube dimension of the AggregationInstanceDimension to be moved.
- 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.