AggregationInstanceDimensionCollection.Move Method (AggregationInstanceDimension, Int32)

 

Updated: May 24, 2016

Moves a specified AggregationInstanceDimension to a new index position in the collection.

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

public void Move(
	AggregationInstanceDimension item,
	int toIndex
)

Parameters

item
Type: Microsoft.AnalysisServices.AggregationInstanceDimension

The AggregationInstanceDimension to be moved in the collection.

toIndex
Type: System.Int32

The new index position in the collection.

Exception Condition
ArgumentOutOfRangeException

You might receive one of the following error messages:

toIndex is less than zero.

toIndex is equal to or greater than Count.

item is not contained by the collection.

Return to top
Show: