Condividi tramite


DataAsyncCommand.AsyncDeriveParameters Method

Definition

Derives, in an asynchronous manner, a set of parameters for use with a specified command.

public:
 virtual void AsyncDeriveParameters(System::String ^ command, int commandType, int commandTimeout, Microsoft::VisualStudio::Data::DataAsyncCommandEvents ^ asyncCommandEvents);
public virtual void AsyncDeriveParameters (string command, int commandType, int commandTimeout, Microsoft.VisualStudio.Data.DataAsyncCommandEvents asyncCommandEvents);
abstract member AsyncDeriveParameters : string * int * int * Microsoft.VisualStudio.Data.DataAsyncCommandEvents -> unit
override this.AsyncDeriveParameters : string * int * int * Microsoft.VisualStudio.Data.DataAsyncCommandEvents -> unit
Public Overridable Sub AsyncDeriveParameters (command As String, commandType As Integer, commandTimeout As Integer, asyncCommandEvents As DataAsyncCommandEvents)

Parameters

command
String

Command for which the parameters are derived.

commandType
Int32

Format of the command string.

commandTimeout
Int32

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

asyncCommandEvents
DataAsyncCommandEvents

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

Exceptions

The command or asyncCommandEvents are null.

The commandType specifies an invalid type.

The commandTimeout is less than -1.

The provider does not support this method.

Applies to