Export (0) Print
Expand All

MiningStructurePermissionCollection.Move Method (String, Int32)

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

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

public MiningStructurePermission Move(
	string id,
	int toIndex
)

Parameters

id
Type: System.String
The identifier of the MiningStructurePermission to move.
toIndex
Type: System.Int32
The zero-based index to which to move the MiningStructurePermission specified by id.

ExceptionCondition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

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

-or-

id does not exist in the collection.

Community Additions

ADD
Show:
© 2014 Microsoft