Freigeben über


CreateCommand-Methode

Creates and returns a Command object associated with the connection.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblys:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  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

Rückgabewert

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