CouchbaseBucket.RemoveAsync Method (String, UInt64)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,
	ulong cas
)

Parameters

key
Type: System.String
The key to remove from the database
cas
Type: System.UInt64
The CAS (Check and Set) value for optimistic concurrency.

Return Value

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

Implements

IBucket.RemoveAsync(String, UInt64)
See Also