Cluster OpenBucket Method Couchbase .NET SDK 2.0
Opens the default bucket associated with a Couchbase Cluster.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public IBucket OpenBucket()

Return Value

Type: IBucket
An instance which implements the IBucket interface with the default buckets configuration.

Implements

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