CouchbaseClusterOpenBucket Method (String, String) |
Creates a connection to a specific SASL authenticated Couchbase Bucket.
Namespace: CouchbaseAssembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IBucket OpenBucket(
string bucketname,
string password
)
Public Function OpenBucket (
bucketname As String,
password As String
) As IBucket
public:
virtual IBucket^ OpenBucket(
String^ bucketname,
String^ password
) sealed
abstract OpenBucket :
bucketname : string *
password : string -> IBucket
override OpenBucket :
bucketname : string *
password : string -> IBucket
Parameters
- bucketname
- Type: SystemString
The Couchbase Bucket to connect to. - password
- Type: SystemString
The SASL password to use.
Return Value
Type:
IBucketAn instance which implements the IBucket interface.
RemarksUse Cluster.CloseBucket(bucket) to release resources associated with a Bucket.
See Also