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

'宣言
Protected Overridable Function OnDeriveParameters ( _
    command As String, _
    commandType As DataCommandType, _
    commandTimeout As Integer _
) As IVsDataParameter()
'使用
Dim command As String
Dim commandType As DataCommandType
Dim commandTimeout As Integer
Dim returnValue As IVsDataParameter()

returnValue = Me.OnDeriveParameters(command, _
    commandType, commandTimeout)
protected virtual IVsDataParameter[] OnDeriveParameters(
    string command,
    DataCommandType commandType,
    int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ OnDeriveParameters(
    String^ command, 
    DataCommandType commandType, 
    int commandTimeout
)
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: []

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

Permissions

See Also

Reference

DataAsyncCommand Class

DataAsyncCommand Members

Microsoft.VisualStudio.Data.Framework Namespace