Export (0) Print
Expand All

DataSourcePermissionCollection.Insert Method (Int32, String)

Creates and inserts a DataSourcePermission, with the specified role identifier, into the collection at the specified index.

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

public DataSourcePermission Insert(
	int index,
	string roleId
)

Parameters

index
Type: Int32
The zero-based index at which the new DataSourcePermission will be inserted.
roleId
Type: String
The role identifier of the DataSourcePermission to be inserted.

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Community Additions

ADD
Show:
© 2014 Microsoft