Click or drag to resize

CouchbaseExtensionsOpenCluster Method (CouchbaseSettings, String, String)

Returns a Couchbase cluster connection using specified settings and the username and password.

Namespace:  Couchbase
Assembly:  Neon.Couchbase (in Neon.Couchbase.dll) Version: 2.14.0
public static Cluster OpenCluster(
	this CouchbaseSettings settings,
	string username,
	string password


Type: Neon.DataCouchbaseSettings
The Couchbase settings.
Type: SystemString
The cluster username.
Type: SystemString
The cluster password.

Return Value

Type: Cluster
The connected Cluster.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CouchbaseSettings. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also