AdomdCommand Constructor (String, AdomdConnection)

 

Updated: March 10, 2016

Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.

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

public AdomdCommand(
	string commandText,
	AdomdConnection connection
)

Parameters

commandText
Type: System.String

The text of the command to be run by the AdomdCommand.

connection
Type: Microsoft.AnalysisServices.AdomdClient.AdomdConnection

The AdomdConnection on which to run the AdomdCommand.

Return to top
Show: