Share via


DataAsyncCommand.OnDeriveParameters(String, DataCommandType, Int32) Method

Definition

Dispatches the asynchronous derive parameters operation to the synchronous DeriveParameters(String, DataCommandType, Int32) method call.

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

Parameters

command
String

Command for which the parameters are 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.

commandTimeout
Int32

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

Returns

An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.

Applies to