次の方法で共有


DataAsyncCommand.OnExecuteWithoutResults Method

Definition

Dispatches the asynchronous execute-without-results operation to the synchronous ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[], Int32) method call.

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

Parameters

command
String

The command for which the schema is derived.

commandType
DataCommandType

A value from the DataCommandType enumeration representing the command type for the indicated command. The value specifies how to interpret the contents of the command parameter.

parameters
IVsDataParameter[]

A list of parameters to pass with the command.

commandTimeout
Int32

Amount of time, in seconds, before which the command times out.

Returns

A DDEX provider–specific integer status code.

Applies to