Méthode FindByRole
Gets the MiningModelPermission, with the specified role identifier, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function FindByRole ( _
roleId As String _
) As MiningModelPermission
'Utilisation
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
Paramètres
- roleId
Type : System. . :: . .String
Valeur de retour
Type : Microsoft.AnalysisServices. . :: . .MiningModelPermission
The MiningModelPermission if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).
Voir aussi