CouchbaseBucket.Remove Method (String, ReplicateTo, PersistTo)Couchbase .NET SDK 2.0
For a given key, removes a document from the database.

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

Parameters

key
Type: System.String
The unique key for indexing.
replicateTo
Type: Couchbase.ReplicateTo
The durability requirement for replication.
persistTo
Type: Couchbase.PersistTo
The durability requirement for persistence.

Return Value

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

Implements

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