CouchbaseBucket.RemoveAsync Method (String, ReplicateTo, PersistTo)Couchbase .NET SDK 2.3.3
Removes a document for a given key from the database as an asynchronous operation.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public Task<IOperationResult> RemoveAsync(
	string key,
	ReplicateTo replicateTo,
	PersistTo persistTo
)

Parameters

key
Type: System.String
The key to remove from the database
replicateTo
Type: Couchbase.ReplicateTo
The durability requirement for replication.
persistTo
Type: Couchbase.PersistTo
The durability requirement for persistence.

Return Value

Type: Task<IOperationResult>
The Task<TResult> object representing the asynchronous operation.

Implements

IBucket.RemoveAsync(String, ReplicateTo, PersistTo)
See Also