 | SphinxQLCommandExecuteScalarAsync Method (CancellationToken) |
Executes the query and returns the first column of the first row in the result set returned by the query.
All other columns and rows are ignored.
Namespace:
SphinxConnector.SphinxQL
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic override Task<Object> ExecuteScalarAsync(
CancellationToken cancellationToken
)
Public Overrides Function ExecuteScalarAsync (
cancellationToken As CancellationToken
) As Task(Of Object)
Parameters
- cancellationToken
- Type: System.ThreadingCancellationToken
The token to monitor for cancellation requests.
Return Value
Type:
TaskObject
The first column of the first row in the result set.
A task representing the asynchronous operation.
Exceptions
See Also