AdomdDataAdapter 建構函式 (String, AdomdConnection)
Initializes a new instance of the AdomdDataAdapter class by using the specified command text and AdomdConnection.
命名空間: 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
A string that is used as a SelectCommand property of the adapter.
- selectConnection
型別:Microsoft.AnalysisServices.AdomdClient.AdomdConnection
An AdomdConnection with which the connection is to be initialized.