Delen via


DataAsyncCommand.OnExecuteWithoutResults Method

Dispatches the asynchronous execute-without-results operation to the synchronous ExecuteWithoutResults method call.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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

Parameters

  • command
    Type: System.String

    The command for which the schema is derived.

  • commandTimeout
    Type: System.Int32

    Amount of time, in seconds, before which the command times out.

Return Value

Type: System.Int32
A DDEX provider–specific integer status code.

.NET Framework Security

See Also

Reference

DataAsyncCommand Class

Microsoft.VisualStudio.Data.Framework Namespace