共用方式為


DataAsyncCommand.OnExecuteWithoutResults 方法

分派非同步執行沒有結果作業同步處理 ExecuteWithoutResults 方法呼叫。

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

語法

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

參數

  • command
    類型:String

    結構描述衍生自類別的命令。

  • commandTimeout
    類型:Int32

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

傳回值

類型:Int32
DDEX 提供者特定的整數狀態碼。

.NET Framework 安全性

請參閱

參考

DataAsyncCommand 類別

Microsoft.VisualStudio.Data.Framework 命名空間