AdomdCommand Constructor (String, AdomdConnection)
Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Public Sub New ( _
commandText As String, _
connection As AdomdConnection _
)
'Uso
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
)
Parámetros
- commandText
Tipo: System.String
The text of the command to be run by the AdomdCommand.
- connection
Tipo: Microsoft.AnalysisServices.AdomdClient.AdomdConnection
The AdomdConnection on which to run the AdomdCommand.