Partilhar via


Método CreateCommand

Creates and returns a Command object associated with the connection.

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

Sintaxe

'Declaração
Function CreateCommand As IDbCommand
'Uso
Dim instance As IDbConnection
Dim returnValue As IDbCommand

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

Valor de retorno

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