共用方式為


Role 建構函式 (String, String)

Initializes a new instance of Role using a name and an identifier.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    id As String _
)
'用途
Dim name As String
Dim id As String

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

參數