Partager via


Méthode CreateCommand

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

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public Function CreateCommand As AdomdCommand
'Utilisation
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

Valeur de retour

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