Compartilhar via


Construtor DatabasePermission (String, String, String)

Initializes a new instance of the DatabasePermission class using a database name, a role identifier, and a unique identifier.

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

Sintaxe

'Declaração
Public Sub New ( _
    roleId As String, _
    name As String, _
    id As String _
)
'Uso
Dim roleId As String 
Dim name As String 
Dim id As String 

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

Parâmetros

  • roleId
    Tipo: System.String
    A String that contains the name of the role identifier.
  • name
    Tipo: System.String
    A String that contains the name of the database.
  • id
    Tipo: System.String
    A String that contains a unique identifier for the database.

Consulte também

Referência

DatabasePermission Classe

Sobrecarregado DatabasePermission

Namespace Microsoft.AnalysisServices