Freigeben über


AdoDotNetConnectionSupport.ExecuteWithoutResultsCore-Methode

Führt einen bestimmten Befehl, optional mit Parametern aus. Gibt None Abfrageergebnissen zurück.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable Function ExecuteWithoutResultsCore ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter(), _
    commandTimeout As Integer _
) As Integer
protected virtual int ExecuteWithoutResultsCore(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters,
    int commandTimeout
)
protected:
virtual int ExecuteWithoutResultsCore(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters, 
    int commandTimeout
)
abstract ExecuteWithoutResultsCore : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int -> int  
override ExecuteWithoutResultsCore : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] * 
        commandTimeout:int -> int
protected function ExecuteWithoutResultsCore(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[], 
    commandTimeout : int
) : int

Parameter

  • command
    Typ: String

    Befehle, um Sie auszuführen, die auf eine Datenquelle abgestimmt ist.

  • commandTimeout
    Typ: Int32

    Zeit, in Sekunden, bevor der Client dem Abbrechen der Schemaableitung und das Zurückgeben zum Aufrufer blockieren. Der Wert Null gibt unbegrenztem Timeout an; ein Wert von -1 gibt ein Anbieterstandard an.

Rückgabewert

Typ: Int32
Die Anzahl der betroffenen Zeilen.

.NET Framework-Sicherheit

Siehe auch

Referenz

AdoDotNetConnectionSupport Klasse

Microsoft.VisualStudio.Data.Framework.AdoDotNet-Namespace

DataCommandType