DataStax C# Driver for Apache Cassandra
DataStax C# Driver for Apache Cassandra
Namespaces
Cassandra
ISession Interface
ISession Methods
BeginExecute Method
BeginPrepare Method
ChangeKeyspace Method
CreateKeyspace Method
CreateKeyspaceIfNotExists Method
DeleteKeyspace Method
DeleteKeyspaceIfExists Method
EndExecute Method
EndPrepare Method
Execute Method
ExecuteAsync Method
Prepare Method
PrepareAsync Method
WaitForSchemaAgreement Method
ISession
ChangeKeyspace Method
Switches to the specified keyspace.
Namespace:
Cassandra
Assembly:
Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
Copy
void
ChangeKeyspace
(
string
keyspaceName
)
Parameters
keyspaceName
Type:
System
String
Case-sensitive name of keyspace to be used.
Exceptions
Exception
Condition
InvalidQueryException
When keyspace does not exist
See Also
Reference
ISession Interface
Cassandra Namespace
DataStax C# Driver for Apache Cassandra User Mailing List
© 2015 DataStax, All rights reserved.