Click or drag to resize
IBucketRemove Method (String, UInt64, ReplicateTo)
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,
	ulong cas,
	ReplicateTo replicateTo
)

Parameters

key
Type: SystemString
The key to remove from the database
cas
Type: SystemUInt64
The CAS (Check and Set) value for optimistic concurrency.
replicateTo
Type: CouchbaseReplicateTo
The durability requirement for replication.

Return Value

Type: IOperationResult
An object implementing the IOperationResultTinterface.
See Also