Click or drag to resize
IClusterConnect Method (String)
Creates a new session on this cluster and sets a keyspace to use.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.1.0
Syntax
C#
ISession Connect(
	string keyspace
)

Parameters

keyspace
Type: SystemString
Case-sensitive keyspace name to use.

Return Value

Type: ISession
a new session on this cluster set to keyspace: keyspaceName.
See Also