CellPermissionCollection.Move Method (CellPermissionAccess, Int32)

Moves a CellPermission, with the specified CellPermissionAccess value, to a new index in the collection.

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

Syntax

VB
'Declaration
Public Function Move ( _
    access As CellPermissionAccess, _
    toIndex As Integer _
) As CellPermission
'Usage
Dim instance As CellPermissionCollection 
Dim access As CellPermissionAccess 
Dim toIndex As Integer 
Dim returnValue As CellPermission 

returnValue = instance.Move(access, toIndex)

Parameters

Return Value

Type: Microsoft.AnalysisServices.CellPermission

Exceptions

Exception Condition
ArgumentOutOfRangeException

toIndex is less than zero.

-or-

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

See Also

Reference

CellPermissionCollection Class

Move Overload

Microsoft.AnalysisServices Namespace