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: DseAssembly: Dse (in Dse.dll) Version: 2.1.0
Syntax public QueryOptions SetConsistencyLevel(
ConsistencyLevel consistencyLevel
)
Parameters
- consistencyLevel
- Type: DseConsistencyLevel
the new consistency level to set as default.
Return Value
Type:
QueryOptionsthis QueryOptions instance
See Also