Sphinx QLConnectionChange Database Async Method
Changes the current database for an open connection. Not supported.
Definition
Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
A task representing the asynchronous operation.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public override Task ChangeDatabaseAsync(
string databaseName,
CancellationToken cancellationToken = default
)VB
Public Overrides Function ChangeDatabaseAsync (
databaseName As String,
Optional cancellationToken As CancellationToken = Nothing
) As TaskParameters
- databaseName String
- Specifies the name of the database for the connection to use.
- cancellationToken CancellationToken (Optional)
- The token to monitor for cancellation requests.
Return Value
TaskA task representing the asynchronous operation.