Move Method (Level, Int32)
Collapse the table of content
Expand the table of content

LevelCollection.Move Method (Level, Int32)

 

Applies To: SQL Server (starting with 2016)

Moves a Level to a new index in the collection.

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

public void Move(
	Level item,
	int toIndex
)

Parameters

item
Type: Microsoft.AnalysisServices.Level

The Level to be moved.

toIndex
Type: System.Int32

The zero-based index to which to move the Level specified by item.

Exception Condition
ArgumentOutOfRangeException

toIndex is less than zero.-or-toIndex is equal to or greater than Count.-or-item is not contained by the collection.

Return to top
Show:
© 2016 Microsoft