共用方式為


DataAsyncCommand.OnDeriveParameters 方法

分派以非同步方式取得參數的同步處理作業 DeriveParameters 方法呼叫。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
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[]

參數

  • command
    類型:String

    參數是衍生自類別的命令。

  • commandTimeout
    類型:Int32

    時間,以秒為單位),在目前的命令逾時。

傳回值

類型:array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
IVsDataParameter 物件的陣列。每個物件表示從命令衍生自類別的參數。

.NET Framework 安全性

請參閱

參考

DataAsyncCommand 類別

Microsoft.VisualStudio.Data.Framework 命名空間