DataConnector | ComponentOne
C1.AdoNet.Salesforce Assembly / C1.AdoNet.Salesforce Namespace / C1SalesforceCommand 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