Sphinx QLCommandExecute Non Query Async(Cancellation Token) Method
Executes a SphinxQL statement against a connection object.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The number of rows affected by the statement.
A task representing the asynchronous operation.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override Task<int> ExecuteNonQueryAsync(
CancellationToken cancellationToken
)VB
Public Overrides Function ExecuteNonQueryAsync (
cancellationToken As CancellationToken
) As Task(Of Integer)Parameters
- cancellationToken CancellationToken
- The token to monitor for cancellation requests.
Return Value
TaskInt32The number of rows affected by the statement.
A task representing the asynchronous operation.
Exceptions
| InvalidOperationException | There is no connection associated with this command or the connection is closed. |
| SphinxQLException |