IVsDataCommand.ExecuteWithoutResults 方法 (String, DataCommandType)

当实现由选件类,执行命令,但未请求结果,而是返回指示调用的结果整数。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Function ExecuteWithoutResults ( _
    command As String, _
    commandType As DataCommandType _
) As Integer
int ExecuteWithoutResults(
    string command,
    DataCommandType commandType
)
int ExecuteWithoutResults(
    String^ command, 
    DataCommandType commandType
)
abstract ExecuteWithoutResults : 
        command:string * 
        commandType:DataCommandType -> int 
function ExecuteWithoutResults(
    command : String, 
    commandType : DataCommandType
) : int

参数

  • command
    类型:System.String
    特定于数据源的命令执行。

返回值

类型:System.Int32
DDEX提供程序特定的整数状态代码。

.NET Framework 安全性

请参见

参考

IVsDataCommand 接口

ExecuteWithoutResults 重载

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