Metodo MiningModelPermissionCollection.FindByRole
Finds the MiningModelPermission with the specified role identifier or null if not found.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function FindByRole ( _
roleId As String _
) As MiningModelPermission
'Utilizzo
Dim instance As MiningModelPermissionCollection
Dim roleId As String
Dim returnValue As MiningModelPermission
returnValue = instance.FindByRole(roleId)
public MiningModelPermission FindByRole(
string roleId
)
public:
MiningModelPermission^ FindByRole(
String^ roleId
)
member FindByRole :
roleId:string -> MiningModelPermission
public function FindByRole(
roleId : String
) : MiningModelPermission
Parametri
- roleId
Tipo: System.String
The role identifier used to identify the MiningModelPermission.
Valore restituito
Tipo: Microsoft.AnalysisServices.MiningModelPermission
The MiningModelPermission with the specified role identifier.