MiningStructurePermissionCollection.Move Method (MiningStructurePermission, Int32)

Moves a MiningStructurePermission to a new index in the collection.

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

public void Move(
	MiningStructurePermission item,
	int toIndex
)

Parameters

item
Type: Microsoft.AnalysisServices.MiningStructurePermission
The MiningStructurePermission to move.
toIndex
Type: System.Int32
The zero-based index to which to move the MiningStructurePermission specified by item.

ExceptionCondition
ArgumentOutOfRangeException

toIndex is less than zero.

-or-

toIndex is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

-or-

item does not exist in the collection.

Community Additions

ADD
Show: