Método GetByRole
Gets the MiningModelPermission, with the specified role identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function GetByRole ( _
roleId As String _
) As MiningModelPermission
'Uso
Dim instance As MiningModelPermissionCollection
Dim roleId As String
Dim returnValue As MiningModelPermission
returnValue = instance.GetByRole(roleId)
public MiningModelPermission GetByRole(
string roleId
)
public:
MiningModelPermission^ GetByRole(
String^ roleId
)
member GetByRole :
roleId:string -> MiningModelPermission
public function GetByRole(
roleId : String
) : MiningModelPermission
Parâmetros
- roleId
Tipo: System. . :: . .String
Valor de retorno
Tipo: Microsoft.AnalysisServices. . :: . .MiningModelPermission
The MiningModelPermission, if contained in the collection.
Exceções
Exceção | Condição |
---|---|
ItemNotFoundException | roleID is not contained by the collection. |
Consulte também