共用方式為


AdomdDataAdapter 建構函式 (String, String)

Initializes a new instance of the AdomdDataAdapter class using the specified command text and connection string.

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

語法

'宣告
Public Sub New ( _
    selectCommandText As String, _
    selectConnectionString As String _
)
'用途
Dim selectCommandText As String 
Dim selectConnectionString As String 

Dim instance As New AdomdDataAdapter(selectCommandText, _
    selectConnectionString)
public AdomdDataAdapter(
    string selectCommandText,
    string selectConnectionString
)
public:
AdomdDataAdapter(
    String^ selectCommandText, 
    String^ selectConnectionString
)
new : 
        selectCommandText:string * 
        selectConnectionString:string -> AdomdDataAdapter
public function AdomdDataAdapter(
    selectCommandText : String, 
    selectConnectionString : String
)

參數

  • selectConnectionString
    型別:System.String
    A string with which the connection is initialized.

請參閱

參考

AdomdDataAdapter 類別

AdomdDataAdapter 多載

Microsoft.AnalysisServices.AdomdClient 命名空間