Condividi tramite


Metodo CreateCommand

Creates and returns an AdomdCommand that is associated with the AdomdConnection.

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

Sintassi

'Dichiarazione
Public Function CreateCommand As AdomdCommand
'Utilizzo
Dim instance As AdomdConnection
Dim returnValue As AdomdCommand

returnValue = instance.CreateCommand()
public AdomdCommand CreateCommand()
public:
AdomdCommand^ CreateCommand()
member CreateCommand : unit -> AdomdCommand 
public function CreateCommand() : AdomdCommand

Valore restituito

Tipo: Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdCommand
An AdomdCommand that is associated with the connection.