共用方式為


IDbConnection.CreateCommand 方法

Creates and returns a Command object associated with the connection.

命名空間:  Microsoft.ReportingServices.DataProcessing
組件:   Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

語法

'宣告
Function CreateCommand As IDbCommand
'用途
Dim instance As IDbConnection 
Dim returnValue As IDbCommand 

returnValue = instance.CreateCommand()
IDbCommand CreateCommand()
IDbCommand^ CreateCommand()
abstract CreateCommand : unit -> IDbCommand
function CreateCommand() : IDbCommand

傳回值

型別:Microsoft.ReportingServices.DataProcessing.IDbCommand
A Command object associated with the connection.

請參閱

參考

IDbConnection 介面

Microsoft.ReportingServices.DataProcessing 命名空間