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
- selectCommandText
Typ: System.String
A ciąg który jest używany jako SelectCommand właściwość adapter.
- selectConnection
Typ: Microsoft.AnalysisServices.AdomdClient.AdomdConnection
AdomdConnection , Z którym połączenie zostało zainicjowane.