An intermediate class for doing management operations on a Bucket.
Namespace: Couchbase.ManagementAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
The IBucketManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
Flush |
Destroys all documents stored within a bucket. This functionality must also be enabled within the server-side bucket settings for safety reasons.
| |
FlushAsync |
Destroys all documents stored within a bucket. This functionality must also be enabled within the server-side bucket settings for safety reasons.
| |
GetDesignDocument |
Retrieves the contents of a design document.
| |
GetDesignDocumentAsync |
Retrieves the contents of a design document.
| |
GetDesignDocuments |
Lists all existing design documents.
| |
GetDesignDocumentsAsync |
Lists all existing design documents.
| |
InsertDesignDocument |
Inserts a design document containing a number of views.
| |
InsertDesignDocumentAsync |
Inserts a design document containing a number of views.
| |
RemoveDesignDocument |
Removes a design document.
| |
RemoveDesignDocumentAsync |
Removes a design document.
| |
UpdateDesignDocument |
Updates a design document containing a number of views.
| |
UpdateDesignDocumentAsync |
Updates a design document containing a number of views.
|
Properties
Name | Description | |
---|---|---|
BucketName |
The name of the Bucket.
|
See Also