AdomdCommand.CommandText Property

Gets or sets the command to run.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public string CommandText { get; set; }

Property Value

Type: String
The command for the AdomdCommand. The default value is an empty string.



The CommandText property can take either a Multidimensional Expressions (MDX) command or an XML for Analysis compliant command (that is, a command that can be framed by the <Command> tag within an XML for Analysis request).

Community Additions