DatabasePermission 构造函数 (String, String, String)

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub New ( _
    roleId As String, _
    name As String, _
    id As String _
)
用法
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
)

参数

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

请参阅

参考

DatabasePermission 类

DatabasePermission 重载

Microsoft.AnalysisServices 命名空间