Click or drag to resize
ClusterHelperGet Method
Returns a Singleton instance of the Cluster class.

Namespace: Couchbase
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static CouchbaseCluster Get()

Return Value

Type: CouchbaseCluster
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