Partager via


CreateCommand méthode

Creates and returns a Command object associated with the connection.

Espace de noms :  Microsoft.ReportingServices.DataProcessing
Assembly :  Microsoft.ReportingServices.Interfaces (dans Microsoft.ReportingServices.Interfaces.dll)

Syntaxe

'Déclaration
Function CreateCommand As IDbCommand
'Utilisation
Dim instance As IDbConnection
Dim returnValue As IDbCommand

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

Valeur de retour

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