Partager via


AdomdConnection.CreateCommand Method

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

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
Public Function CreateCommand As AdomdCommand
public AdomdCommand CreateCommand ()
public:
AdomdCommand^ CreateCommand ()
public AdomdCommand CreateCommand ()
public function CreateCommand () : AdomdCommand

Valeur de retour

An AdomdCommand that is associated with the connection.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace