IBucket.Remove Method (String, ReplicateTo)Couchbase .NET SDK 2.0
Removes a document for a given key from the database.

Namespace: Couchbase.Core
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
IOperationResult Remove(
	string key,
	ReplicateTo replicateTo
)

Parameters

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

Return Value

Type: IOperationResult
An object implementing the IOperationResult<T>interface.
See Also