共用方式為


DataSource 建構函式 (String, String)

Initializes a new instance of the DataSource class using a name and an identifier.

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

語法

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

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

參數

  • id
    型別:System.String
    A unique identifier for the data source.

請參閱

參考

DataSource 類別

DataSource 多載

Microsoft.AnalysisServices 命名空間