Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the MiningModelPermission with the specified role identifier.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function GetByRole ( _
roleId As String _
) As MiningModelPermission
'Usage
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
Parameters
- roleId
Type: System.String
The role identifier used to identify the MiningModelPermission.
Return Value
Type: Microsoft.AnalysisServices.MiningModelPermission
The MiningModelPermission with the specified role identifier.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | roleID is not contained by the collection. |