Partager via


Méthode CreateCommand

Creates and returns a Command object associated with the connection.

Espace de noms :  Microsoft.ReportingServices.DataProcessing
Assemblys :   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en 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.