AdomdDataAdapter コンストラクター (String, AdomdConnection)
指定したコマンド テキストと AdomdConnection を使用して、AdomdDataAdapter クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.AnalysisServices.AdomdClient
アセンブリ: Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)
構文
'宣言
Public Sub New ( _
selectCommandText As String, _
selectConnection As AdomdConnection _
)
'使用
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
)
パラメーター
- selectCommandText
型: System.String
アダプターの SelectCommand プロパティとして使用する string です。
- selectConnection
型: Microsoft.AnalysisServices.AdomdClient.AdomdConnection
接続を初期化する AdomdConnection です。