MiningModelColumnCollection.Move Method (String, Int32)

 

Updated: May 24, 2016

Moves a MiningModelColumn that has the specified identifier to the specified index in the collection.

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

public MiningModelColumn Move(
	string id,
	int toIndex
)

Parameters

id
Type: System.String

The identifier of the MiningModelColumn to move.

toIndex
Type: System.Int32

The zero-based index to which to move the MiningModelColumn specified by id.

Exception Condition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than Count.

-or-

id does not exist in the collection.

Return to top
Show: