Cluster OpenBucket Method (String)Couchbase .NET SDK 2.0
Creates a connection to a non-SASL Couchbase bucket.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
public IBucket OpenBucket(
	string bucketname
)

Parameters

bucketname
Type: System String
The Couchbase Bucket to connect to.

Return Value

Type: IBucket
An instance which implements the IBucket interface.

Implements

ICluster OpenBucket(String)
Remarks
Use Cluster.CloseBucket(bucket) to release resources associated with a Bucket.
See Also