Export (0) Print
Expand All

DataSourcePermissionCollection.Move Method (DataSourcePermission, Int32)

Moves a DataSourcePermission to a new index in the collection.

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

public void Move(
	DataSourcePermission item,
	int toIndex
)

Parameters

item
Type: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be moved.
toIndex
Type: Int32
The zero-based index to which to move the DataSourcePermission specified by item.

ExceptionCondition
ArgumentOutOfRangeException

toIndex is less than zero.

-or-

toIndex is equal to or greater than Count.

-or-

item is not contained by the collection.

Community Additions

ADD
Show:
© 2014 Microsoft