IVsDataCommand.ExecuteWithoutResults Method (String, DataCommandType, [])

When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function ExecuteWithoutResults ( _
    command As String, _
    commandType As DataCommandType, _
    parameters As IVsDataParameter() _
) As Integer
'使用
Dim instance As IVsDataCommand
Dim command As String
Dim commandType As DataCommandType
Dim parameters As IVsDataParameter()
Dim returnValue As Integer

returnValue = instance.ExecuteWithoutResults(command, _
    commandType, parameters)
int ExecuteWithoutResults(
    string command,
    DataCommandType commandType,
    IVsDataParameter[] parameters
)
int ExecuteWithoutResults(
    String^ command, 
    DataCommandType commandType, 
    array<IVsDataParameter^>^ parameters
)
function ExecuteWithoutResults(
    command : String, 
    commandType : DataCommandType, 
    parameters : IVsDataParameter[]
) : int

Parameters

  • command
    Type: System.String

    A command to execute that is specific to a data source.

  • parameters
    Type: []

    An array of DataParameter objects for the specified command type. While this is an input parameter, the provider is still able to set properties on individual out and return value parameters.

Return Value

Type: System.Int32

A DDEX provider–specific integer status code.

Permissions

See Also

Reference

IVsDataCommand Interface

IVsDataCommand Members

ExecuteWithoutResults Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace