DataConnector | ComponentOne
C1.AdoNet.Json Assembly / C1.AdoNet.Json Namespace / C1JsonCommand Class / ExecuteNonQueryAsync Method / ExecuteNonQueryAsync(CancellationToken) Method

In This Topic
    ExecuteNonQueryAsync(CancellationToken) Method
    In This Topic
    An asynchronous version of method ExecuteNonQuery that executes a SQL statement against a connection object.
    Syntax
    'Declaration
     
    Public Overloads Function ExecuteNonQueryAsync( _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    public Task<int> ExecuteNonQueryAsync( 
       CancellationToken cancellationToken
    )

    Parameters

    cancellationToken

    Return Value

    The number of rows affected.
    See Also