AceQL HTTP C# Client SDK v2.0

AceQLCommand..::..ExecuteNonQueryAsync Method (CancellationToken)

Executes the SQL statement against the connection and returns the number of rows affected.

The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.

Namespace:  AceQL.Client.Api
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public Task<int> ExecuteNonQueryAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: CancellationToken
The cancellation instruction.

Return Value

The number of rows affected.

Exceptions


ExceptionCondition
AceQL.Client.Api..::..AceQLExceptionIf any Exception occurs.