共用方式為


CreateCommand 方法

Creates and returns an AdomdCommand that is associated with the AdomdConnection.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function CreateCommand As AdomdCommand
'用途
Dim instance As AdomdConnection
Dim returnValue As AdomdCommand

returnValue = instance.CreateCommand()
public AdomdCommand CreateCommand()
public:
AdomdCommand^ CreateCommand()
member CreateCommand : unit -> AdomdCommand 
public function CreateCommand() : AdomdCommand

傳回值

型別:Microsoft.AnalysisServices.AdomdClient. . :: . .AdomdCommand
An AdomdCommand that is associated with the connection.