Share via


AdomdDataAdapter Constructor (String, AdomdConnection)

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Sub New ( _
    selectCommandText As String, _
    selectConnection As AdomdConnection _
)
'Usage
Dim selectCommandText As String
Dim selectConnection As AdomdConnection

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

Parameters