Insert Method (Int32, DataSourcePermission)
Collapse the table of content
Expand the table of content

DataSourcePermissionCollection.Insert Method (Int32, DataSourcePermission)

 

Updated: May 16, 2016

Inserts a DataSourcePermission into the collection at the specified index.

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

public void Insert(
	int index,
	DataSourcePermission item
)

Parameters

index
Type: System.Int32

The zero-based index at which the new DataSourcePermission will be inserted.

item
Type: Microsoft.AnalysisServices.DataSourcePermission

The DataSourcePermission to be inserted.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Return to top
Show:
© 2016 Microsoft