MiningStructurePermissionCollection.Insert Method (Int32, String, String)

 

Updated: May 24, 2016

Creates, inserts at the specified index and returns a new MiningStructurePermission (with identifier generated based on the specified name to be unique in the collection).

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

public MiningStructurePermission Insert(
	int index,
	string roleId,
	string name
)

Parameters

index
Type: System.Int32

The zero-based index at which the new MiningStructurePermission is inserted.

roleId
Type: System.String

The role identifier for the new MiningStructurePermission.

name
Type: System.String

The name for the new MiningStructurePermission (needs to be unique in the collection).

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Return to top
Show: