AdomdCommand 建構 (String, AdomdConnection)
Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Public Sub New ( _
commandText As String, _
connection As AdomdConnection _
)
'用途
Dim commandText As String
Dim connection As AdomdConnection
Dim instance As New AdomdCommand(commandText, _
connection)
public AdomdCommand(
string commandText,
AdomdConnection connection
)
public:
AdomdCommand(
String^ commandText,
AdomdConnection^ connection
)
new :
commandText:string *
connection:AdomdConnection -> AdomdCommand
public function AdomdCommand(
commandText : String,
connection : AdomdConnection
)
參數
- commandText
型別:System. . :: . .String
The text of the command to be run by the AdomdCommand.
- connection
型別:Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdConnection
The AdomdConnection on which to run the AdomdCommand.