Share via


AdomdCommand Constructor (String, AdomdConnection)

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)

Syntax

'Declaration
Public Sub New ( _
    commandText As String, _
    connection As AdomdConnection _
)
public AdomdCommand (
    string commandText,
    AdomdConnection connection
)
public:
AdomdCommand (
    String^ commandText, 
    AdomdConnection^ connection
)
public AdomdCommand (
    String commandText, 
    AdomdConnection connection
)
public function AdomdCommand (
    commandText : String, 
    connection : AdomdConnection
)

Parameters

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace