Share via


AdomdDataAdapter Constructor (String, String)

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

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

Syntax

'Declaration
Public Sub New ( _
    selectCommandText As String, _
    selectConnectionString As String _
)
'Usage
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
)

Parameters

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