Freigeben über


IVsDataCommand.ExecuteWithoutResults-Methode (String, DataCommandType, array<IVsDataParameter[])

Wenn Sie von einer Klasse implementiert werden, führt einen Befehl, optional mit Parametern aus, erfordert aber keine Ergebnisse und gibt eine ganze Zahl stattdessen das Ergebnis des Aufrufs angibt zurück.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function ExecuteWithoutResults ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter() _
) As Integer
int ExecuteWithoutResults(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters
)
int ExecuteWithoutResults(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters
)
abstract ExecuteWithoutResults : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] -> int
function ExecuteWithoutResults(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[]
) : int

Parameter

  • command
    Typ: String

    Ein Befehl auszuführen, der einer Datenquelle.

Rückgabewert

Typ: Int32
Ein anbieterspezifischer ganzzahliger Statuscode DDEX.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDataCommand Schnittstelle

ExecuteWithoutResults-Überladung

Microsoft.VisualStudio.Data.Services.SupportEntities-Namespace