CouchbaseBucket.RemoveAsync<T> Method (IDocument<T>, ReplicateTo)Couchbase .NET SDK 2.3.3
Removes a document 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<T>(
	IDocument<T> document,
	ReplicateTo replicateTo
)

Parameters

document
Type: Couchbase.IDocument<T>
The IDocument<T> to remove from the database.
replicateTo
Type: Couchbase.ReplicateTo
The durability requirement for replication.
Type Parameters
T
The type T of the object.

Return Value

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

Implements

IBucket.RemoveAsync<T>(IDocument<T>, ReplicateTo)
See Also