Click or drag to resize
IBucketRemove Method (String, ReplicateTo, PersistTo)
Removes a document for a given key from the database.

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

Parameters

key
Type: SystemString
The key to remove from the database
replicateTo
Type: CouchbaseReplicateTo
The durability requirement for replication.
persistTo
Type: CouchbasePersistTo
The durability requirement for persistence.

Return Value

Type: IOperationResult
An object implementing the IOperationResultTinterface.
See Also