Bagikan melalui


IDbConnection.CreateCommand Method

Creates and returns a Command object associated with the connection.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Function CreateCommand As IDbCommand
'Usage
Dim instance As IDbConnection 
Dim returnValue As IDbCommand 

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

Return Value

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

See Also

Reference

IDbConnection Interface

Microsoft.ReportingServices.DataProcessing Namespace