次の方法で共有


IVsDataAsyncCommand.ExecuteWithoutResultsAsync Method

Definition

Executes, in an asynchronous manner, a command that does not return any results beyond an integer value indicating status.

public:
 void ExecuteWithoutResultsAsync(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ parameters, int commandTimeout, System::Object ^ userState);
public void ExecuteWithoutResultsAsync (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] parameters, int commandTimeout, object userState);
abstract member ExecuteWithoutResultsAsync : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] * int * obj -> unit
Public Sub ExecuteWithoutResultsAsync (command As String, commandType As DataCommandType, parameters As IVsDataParameter(), commandTimeout As Integer, userState As Object)

Parameters

command
String

The command to be executed.

commandType
DataCommandType

A value from the DataCommandType enumeration representing the command type for the indicated command, specifying 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.

userState
Object

The object on which this method calls back as the command progresses.

Applies to