Click or drag to resize
IBucketRemoveT Method (IDocumentT, ReplicateTo)
Removes a document from the database.

Namespace: Couchbase.Core
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
IOperationResult Remove<T>(
	IDocument<T> document,
	ReplicateTo replicateTo
)

Parameters

document
Type: CouchbaseIDocumentT
The IDocumentT to remove from the database.
replicateTo
Type: CouchbaseReplicateTo
The durability requirement for replication.

Type Parameters

T
The type T of the object.

Return Value

Type: IOperationResult
An object implementing IDocumentResultT with information regarding the operation.
See Also