MiningStructurePermissionCollection.GetByRole(String) Method

Definition

Gets the MiningStructurePermission that has the specified RoleID from the collection.

public Microsoft.AnalysisServices.MiningStructurePermission GetByRole (string roleId);
member this.GetByRole : string -> Microsoft.AnalysisServices.MiningStructurePermission
Public Function GetByRole (roleId As String) As MiningStructurePermission

Parameters

roleId
String

The RoleID of the MiningStructurePermission to locate.

Returns

The MiningStructurePermission with the specified RoleID.

Exceptions

The collection doesn't contain a MiningStructurePermission with the specified RoleID.

Applies to