Click or drag to resize

PreparedStatementSetConsistencyLevel Method

Sets a default consistency level for all BoundStatement created from this object.

If no consistency level is set through this method, the BoundStatement created from this object will use the default consistency level (One).

Changing the default consistency level is not retroactive, it only applies to BoundStatement created after the change.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public PreparedStatement SetConsistencyLevel(
	ConsistencyLevel consistency
)

Parameters

consistency
Type: DseConsistencyLevel
the default consistency level to set.

Return Value

Type: PreparedStatement
this PreparedStatement object.
See Also