AdoDotNetConnectionSupport.ExecuteWithoutResults(String, Int32, DataParameter[], Int32) Method

Definition

Executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call.

public:
 virtual int ExecuteWithoutResults(System::String ^ command, int commandType, cli::array <Microsoft::VisualStudio::Data::DataParameter ^> ^ parameters, int commandTimeout);
public virtual int ExecuteWithoutResults (string command, int commandType, Microsoft.VisualStudio.Data.DataParameter[] parameters, int commandTimeout);
abstract member ExecuteWithoutResults : string * int * Microsoft.VisualStudio.Data.DataParameter[] * int -> int
override this.ExecuteWithoutResults : string * int * Microsoft.VisualStudio.Data.DataParameter[] * int -> int
Public Overridable Function ExecuteWithoutResults (command As String, commandType As Integer, parameters As DataParameter(), commandTimeout As Integer) As Integer

Parameters

command
String

Data-source-specific command to execute.

commandType
Int32

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

parameters
DataParameter[]

Array of DataParameter object 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 timeout; value of -1 indicates a provider default.

Returns

Int32

Returns a data-provider-specific integer status code.

Applies to