Share via


IDbConnection.CreateCommand Method

Creates and returns a Command object associated with the connection.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assembly:  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.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.