Click or drag to resize

ISession.Execute Method (IStatement, String)

Executes the provided statement with the provided execution profile. The execution profile must have been added previously to the Cluster using WithExecutionProfiles(Action<IExecutionProfileOptions>).

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.10.0
Syntax
C#
RowSet Execute(
	IStatement statement,
	string executionProfileName
)

Parameters

statement
Type: Cassandra.IStatement
Statement to execute.
executionProfileName
Type: System.String
ExecutionProfile name to be used while executing the statement.

Return Value

Type: RowSet
See Also