共用方式為


IVsDataCommand.ExecuteWithoutResults 方法 (String, DataCommandType, array<IVsDataParameter )

當由類別實作時,執行 命令,並選擇性地使用參數,則傳回,而不需要結果,而是傳回表示呼叫的結果整數。

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

語法

'宣告
Function ExecuteWithoutResults ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter() _
) As Integer
int ExecuteWithoutResults(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters
)
int ExecuteWithoutResults(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters
)
abstract ExecuteWithoutResults : 
        command:string * 
        commandType:DataCommandType * 
        parameters:IVsDataParameter[] -> int 
function ExecuteWithoutResults(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[]
) : int

參數

  • command
    型別:System.String
    物件是針對資料來源執行的命令。

傳回值

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

.NET Framework 安全性

請參閱

參考

IVsDataCommand 介面

ExecuteWithoutResults 多載

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間