Share via


DataAsyncCommand.OnDeriveParameters Method

Dispatches the asynchronous derive parameters operation to the synchronous DeriveParameters method call.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable Function OnDeriveParameters ( _
    command As String, _
    commandType As DataCommandType, _
    commandTimeout As Integer _
) As IVsDataParameter()
protected virtual IVsDataParameter[] OnDeriveParameters(
    string command,
    DataCommandType commandType,
    int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ OnDeriveParameters(
    String^ command, 
    DataCommandType commandType, 
    int commandTimeout
)
abstract OnDeriveParameters : 
        command:string * 
        commandType:DataCommandType * 
        commandTimeout:int -> IVsDataParameter[] 
override OnDeriveParameters : 
        command:string * 
        commandType:DataCommandType * 
        commandTimeout:int -> IVsDataParameter[] 
protected function OnDeriveParameters(
    command : String, 
    commandType : DataCommandType, 
    commandTimeout : int
) : IVsDataParameter[]

Parameters

  • command
    Type: System.String
    Command for which the parameters are derived.
  • commandTimeout
    Type: System.Int32
    Amount of time, in seconds, before which the command times out.

Return Value

Type: array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.

.NET Framework Security

See Also

Reference

DataAsyncCommand Class

Microsoft.VisualStudio.Data.Framework Namespace