Udostępnij za pośrednictwem


Metoda IDbConnection.CreateCommand

Tworzy i zwraca polecenia obiektu skojarzonego z tym połączeniem.

Przestrzeń nazw:  Microsoft.ReportingServices.DataProcessing
Zestawy:   Microsoft.ReportingServices.SharePoint.UI.WebParts (w Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (w Microsoft.ReportingServices.Interfaces.dll)

Składnia

'Deklaracja
Function CreateCommand As IDbCommand
'Użycie
Dim instance As IDbConnection
Dim returnValue As IDbCommand

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

Wartość zwracana

Typ: Microsoft.ReportingServices.DataProcessing.IDbCommand
A polecenia obiektu skojarzonego z tym połączeniem.