Compartilhar via


Método CreateCommand

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public Function CreateCommand As AdomdCommand
'Uso
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

Valor de retorno

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