couchbaseC# SDK


Syntax

  • new Cluster(); // Connect and bootstrap from the local cluster (localhost)
  • new Cluster(ClientConfiguration configuration) // Use the specified custom configuration to connect to the cluster
  • new Cluster(string configurationSectionName) // Use the specified configuration section from app.config / web.config
  • OpenBucket(); // Open the default bucket
  • OpenBucket(string bucketname); // Open the specified bucket
  • OpenBucket(string bucketname, string password); // Open the specified bucket with the provided password