Click or drag to resize
ClusterBuildFrom Method
Build a new cluster based on the provided initializer.

Note that for building a cluster programmatically, Cluster.NewBuilder provides a slightly less verbose shortcut with NewBuilder#Build.

Also note that that all the contact points provided by initializer must share the same port.

Namespace: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
public static Cluster BuildFrom(
	IInitializer initializer
)

Parameters

initializer
Type: CassandraIInitializer
the Cluster.Initializer to use

Return Value

Type: Cluster
the newly created Cluster instance
See Also