Compartilhar 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 _
)
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
)

Parameters

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdDataAdapter Class
AdomdDataAdapter Members
Microsoft.AnalysisServices.AdomdClient Namespace