DataConnector | ComponentOne
C1.AdoNet.Snowflake Assembly / C1.DataConnector.AdoNet Namespace / C1CommandBase 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 Overrides Function ExecuteNonQueryAsync( _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    public override Task<int> ExecuteNonQueryAsync( 
       CancellationToken cancellationToken
    )

    Parameters

    cancellationToken

    Return Value

    The number of rows affected.
    See Also