共用方式為


AdomdDataAdapter Constructor (String, String)

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

命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

語法

'宣告
Public Sub New ( _
    selectCommandText As String, _
    selectConnectionString As String _
)
public AdomdDataAdapter (
    string selectCommandText,
    string selectConnectionString
)
public:
AdomdDataAdapter (
    String^ selectCommandText, 
    String^ selectConnectionString
)
public AdomdDataAdapter (
    String selectCommandText, 
    String selectConnectionString
)
public function AdomdDataAdapter (
    selectCommandText : String, 
    selectConnectionString : String
)

參數

  • selectCommandText
    A string that is used as a SelectCommand property of the adapter.
  • selectConnectionString
    A string with which the connection is initialized.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

AdomdDataAdapter Class
AdomdDataAdapter Members
Microsoft.AnalysisServices.AdomdClient Namespace