IBucketManager Flush Method Couchbase .NET SDK 2.0
Destroys all documents stored within a bucket. This functionality must also be enabled within the server-side bucket settings for safety reasons.

Namespace: Couchbase.Management
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
IResult Flush()

Return Value

Type: IResult
A Boolean indicating success.
See Also