Compartilhar via


MiningModelPermissionCollection.FindByRole(String) Method

Definition

Gets the MiningModelPermission with the specified RoleID from the collection.

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

Parameters

roleId
String

The RoleID of the MiningModelPermission to locate.

Returns

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

Applies to