Click or drag to resize
StatementSetConsistencyLevel Method
Sets the consistency level for the query.

The default consistency level, if this method is not called, is ConsistencyLevel.ONE.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
public IStatement SetConsistencyLevel(
	Nullable<ConsistencyLevel> consistency
)

Parameters

consistency
Type: SystemNullableConsistencyLevel
the consistency level to set.

Return Value

Type: IStatement
this IStatement object.

Implements

IStatementSetConsistencyLevel(NullableConsistencyLevel)
See Also