 | SphinxQLCommandExecuteNonQueryAsync Method (CancellationToken) |
Executes a SphinxQL statement against a connection object.
Namespace:
SphinxConnector.SphinxQL
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic override Task<int> ExecuteNonQueryAsync(
CancellationToken cancellationToken
)
Public Overrides Function ExecuteNonQueryAsync (
cancellationToken As CancellationToken
) As Task(Of Integer)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
Return Value
Type:
TaskInt32
The number of rows affected by the statement.
A task representing the asynchronous operation.
Exceptions
See Also