共用方式為


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