共用方式為


AdomdDataAdapter Constructor (String, AdomdConnection)

Initializes a new instance of the AdomdDataAdapter class by using the specified command text and AdomdConnection.

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

語法

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

參數

  • selectCommandText
    A string that is used as a SelectCommand property of the adapter.
  • selectConnection
    An AdomdConnection with which the connection is to be initialized.

平台

開發平台

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

目標平台

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

請參閱

參考

AdomdDataAdapter Class
AdomdDataAdapter Members
Microsoft.AnalysisServices.AdomdClient Namespace