Dela via


MiningModelPermission Constructor (String, String, String)

Initializes a new instance of MiningModelPermission using an identifier, a name, and a role identifier.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub New ( _
    roleId As String, _
    name As String, _
    id As String _
)
'Usage
Dim roleId As String
Dim name As String
Dim id As String

Dim instance As New MiningModelPermission(roleId, _
    name, id)
public MiningModelPermission(
    string roleId,
    string name,
    string id
)
public:
MiningModelPermission(
    String^ roleId, 
    String^ name, 
    String^ id
)
new : 
        roleId:string * 
        name:string * 
        id:string -> MiningModelPermission
public function MiningModelPermission(
    roleId : String, 
    name : String, 
    id : String
)

Parameters

  • roleId
    Type: System.String
    A String that contains the name of a role.