ClusterHelper Get Method Couchbase .NET SDK 2.0
Returns a Singleton instance of the Cluster class.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
public static Cluster Get()

Return Value

Type: Cluster
A Singleton instance of the Cluster class.
Exceptions
ExceptionCondition
InitializationExceptionThrown if Initialize is not called before accessing this method.
Remarks
Call one of the Initialize() overloads to create or recreate the Singleton instance. However, Initialize() should only be called when the process starts up.
See Also