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
Syntax
public static Cluster OpenCluster(
	this CouchbaseSettings settings,
	string username,
	string password
)

Parameters

settings
Type: Neon.DataCouchbaseSettings
The Couchbase settings.
username
Type: SystemString
The cluster username.
password
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