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