Share via


MiningStructurePermissionCollection.FindByRole(String) Method

Definition

Gets the MiningStructurePermission with the specified RoleID from the collection.

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

Parameters

roleId
String

The RoleID of the MiningStructurePermission to locate.

Returns

The MiningStructurePermission with the specified RoleID, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to