共用方式為


DataSourcePermission 建構函式 (String, String, String)

Initializes a new instance of the DataSourcePermission class using a role identifier, DataSource name and DataSource 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 DataSourcePermission(roleId, _
    name, id)
public DataSourcePermission(
    string roleId,
    string name,
    string id
)
public:
DataSourcePermission(
    String^ roleId, 
    String^ name, 
    String^ id
)
new : 
        roleId:string * 
        name:string * 
        id:string -> DataSourcePermission
public function DataSourcePermission(
    roleId : String, 
    name : String, 
    id : String
)

參數

  • roleId
    型別:System.String
    A String that contains the unique identifier of the role.

請參閱

參考

DataSourcePermission 類別

DataSourcePermission 多載

Microsoft.AnalysisServices 命名空間