共用方式為


IDbConnection.CreateCommand 方法

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

語法

'宣告
Private Function CreateCommand As IDbCommand
    Implements IDbConnection.CreateCommand
'用途
Dim instance As AdomdConnection
Dim returnValue As IDbCommand

returnValue = CType(instance, IDbConnection).CreateCommand()
IDbCommand IDbConnection.CreateCommand()
private:
virtual IDbCommand^ CreateCommand() sealed = IDbConnection::CreateCommand
private abstract CreateCommand : unit -> IDbCommand 
private override CreateCommand : unit -> IDbCommand 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:System.Data. . :: . .IDbCommand

實作

IDbConnection. . :: . .CreateCommand() () () ()