AdomdCommand Constructor (String, AdomdConnection)

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

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
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
)

参数

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

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace