Condividi tramite


Costruttore AdomdCommand (String, AdomdConnection)

Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    commandText As String, _
    connection As AdomdConnection _
)
'Utilizzo
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
)

Parametri

Vedere anche

Riferimento

AdomdCommand Classe

Overload AdomdCommand

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient