Freigeben über


AdoDotNetConnectionSupport.ExecuteWithoutResultsCore Method

Definition

Executes a specified command, optionally with parameters. Does not return any query results.

protected:
 virtual int ExecuteWithoutResultsCore(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ parameters, int commandTimeout);
protected virtual int ExecuteWithoutResultsCore (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] parameters, int commandTimeout);
abstract member ExecuteWithoutResultsCore : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] * int -> int
override this.ExecuteWithoutResultsCore : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] * int -> int
Protected Overridable Function ExecuteWithoutResultsCore (command As String, commandType As DataCommandType, parameters As IVsDataParameter(), commandTimeout As Integer) As Integer

Parameters

command
String

Command to execute that is specific to the data source.

commandType
DataCommandType

Type of the indicated command, specifying how to interpret the contents of the command parameter.

parameters
IVsDataParameter[]

Array of DataParameter objects for the specified command type.

commandTimeout
Int32

Length of time, in seconds, to block the client before canceling the schema derivation and returning to the caller. A value of zero indicates infinite time-out; a value of -1 indicates a provider default.

Returns

The number of rows affected.

Applies to