Udostępnij przez


Konstruktor AdomdDataAdapter (String, AdomdConnection)

Inicjuje nowe wystąpienie AdomdDataAdapter klasy przy użyciu tekstu określonego polecenia i AdomdConnection.

Przestrzeń nazw:  Microsoft.AnalysisServices.AdomdClient
Zestaw:  Microsoft.AnalysisServices.AdomdClient (w Microsoft.AnalysisServices.AdomdClient.dll)

Składnia

'Deklaracja
Public Sub New ( _
    selectCommandText As String, _
    selectConnection As AdomdConnection _
)
'Użycie
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
)

Parametry