Freigeben über


CreateCommand-Methode

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

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

Syntax

'Declaration
Public Function CreateCommand As AdomdCommand
'Usage
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

Rückgabewert

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