ICluster OpenBucket Method (String, String)Couchbase .NET SDK 2.1.0 Documentation
Opens a Couchbase Bucket instance.

Namespace: Couchbase.Core
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
IBucket OpenBucket(
	string bucketname,
	string password
)

Parameters

bucketname
Type: System String
The name of the bucket to open.
password
Type: System String
The password to use if it's a SASL authenticated bucket.

Return Value

Type: IBucket
A object that implements IBucket.
See Also