ClusterHelper.GetBucket Method (String, String)Couchbase .NET SDK 2.0
Opens or gets IBucket instance from the ICluster that this ClusterHelper is wrapping. The IBucket will be cached and subsquent requests for a IBucket of the same name will return the cached instance.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static IBucket GetBucket(
	string bucketName,
	string password
)

Parameters

bucketName
Type: System.String
The name of the IBucket to open or get.
password
Type: System.String
The password if required by the bucket instance.

Return Value

Type: IBucket
An IBucketinstance
See Also