Share via


AdomdConnection.CreateCommand Method

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

Return Value

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

See Also

Reference

AdomdConnection Class

Microsoft.AnalysisServices.AdomdClient Namespace