IBucketManager FlushAsync Method Couchbase .NET SDK 2.1.0 Documentation
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.1.0.0 (2.1.0.0)
Syntax
Task<IResult> FlushAsync()

Return Value

Type: Task IResult 
A Boolean indicating success.
See Also