DataStax C# Driver for Apache Cassandra
DataStax C# Driver for Apache Cassandra
Namespaces
Cassandra
Session Class
Session Methods
BeginExecute Method
BeginPrepare Method
ChangeKeyspace Method
CreateKeyspace Method
CreateKeyspaceIfNotExists Method
DeleteKeyspace Method
DeleteKeyspaceIfExists Method
Dispose Method
EndExecute Method
EndPrepare Method
Execute Method
ExecuteAsync Method
Prepare Method
PrepareAsync Method
WaitForSchemaAgreement Method
Session
ChangeKeyspace Method
Switches to the specified keyspace.
Namespace:
Cassandra
Assembly:
Cassandra (in Cassandra.dll) Version: 3.7.0
Syntax
C#
Copy
public
void
ChangeKeyspace
(
string
keyspace
)
Parameters
keyspace
Type:
System
String
Implements
ISession
ChangeKeyspace(String)
Exceptions
Exception
Condition
InvalidQueryException
When keyspace does not exist
See Also
Reference
Session Class
Cassandra Namespace
DataStax C# Driver for Apache Cassandra User Mailing List
© 2018 DataStax, All rights reserved.