Click or drag to resize
QueryOptionsSetConsistencyLevel Method
Sets the default consistency level to use for queries. The consistency level set through this method will be use for queries that don't explicitely have a consistency level.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public QueryOptions SetConsistencyLevel(
	ConsistencyLevel consistencyLevel
)

Parameters

consistencyLevel
Type: CassandraConsistencyLevel
the new consistency level to set as default.

Return Value

Type: QueryOptions
this QueryOptions instance
See Also