Share via


AdoDotNetConnectionSupport.ExecuteWithoutResultsCore, méthode

Exécute une commande spécifiée, éventuellement avec des paramètres.Ne retourne aucun résultat de la requête.

Espace de noms :  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
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

Paramètres

  • command
    Type : System.String
    Commande d'exécution spécifique à la source de données.
  • commandTimeout
    Type : System.Int32
    La durée, en secondes, pour bloquer le client avant d'annuler la dérivation de schéma et retourner à l'appelant.La valeur zéro indique la minuterie infinie ; une valeur de -1 indique une valeur par défaut de fournisseur.

Valeur de retour

Type : System.Int32
Nombre de lignes affectées.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionSupport Classe

Microsoft.VisualStudio.Data.Framework.AdoDotNet, espace de noms

DataCommandType