VistaDB 6
VistaDB.Provider Namespace / VistaDBCommand Class / ExecuteNonQueryAsync Method / ExecuteNonQueryAsync() Method


In This Topic
    ExecuteNonQueryAsync() Method
    In This Topic
    An asynchronous version of System.Data.Common.DbCommand.ExecuteNonQuery, which executes a SQL statement against a connection object. Invokes System.Data.Common.DbCommand.ExecuteNonQueryAsync(System.Threading.CancellationToken) with CancellationToken.None.
    Syntax
    'Declaration
     
    
    Public Overloads Function ExecuteNonQueryAsync() As System.Threading.Tasks.Task(Of Integer)
    'Usage
     
    
    Dim instance As VistaDBCommand
    Dim value As System.Threading.Tasks.Task(Of Integer)
     
    value = instance.ExecuteNonQueryAsync()
    public System.Threading.Tasks.Task<int> ExecuteNonQueryAsync()

    Return Value

    A task representing the asynchronous operation.
    Exceptions
    ExceptionDescription
    An error occurred while executing the command text.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also