Click or drag to resize

ISessionExecuteAsync Method (IStatement, String)

Executes a query asynchronously with the provided execution profile. The execution profile must have been added previously to the Cluster using WithExecutionProfiles(ActionIExecutionProfileOptions).

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
Task<RowSet> ExecuteAsync(
	IStatement statement,
	string executionProfileName
)

Parameters

statement
Type: DseIStatement
The statement to execute (simple, bound or batch statement)
executionProfileName
Type: SystemString
ExecutionProfile name to be used while executing the statement.

Return Value

Type: TaskRowSet
A task representing the asynchronous operation.
See Also