AdomdConnection.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.

请参阅

参考

AdomdConnection 类

Microsoft.AnalysisServices.AdomdClient 命名空间