IBucketRemove Method (String, UInt64, ReplicateTo) |
Removes a document for a given key from the database.
Namespace: Couchbase.CoreAssembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxIOperationResult Remove(
string key,
ulong cas,
ReplicateTo replicateTo
)
Function Remove (
key As String,
cas As ULong,
replicateTo As ReplicateTo
) As IOperationResult
IOperationResult^ Remove(
String^ key,
unsigned long long cas,
ReplicateTo replicateTo
)
abstract Remove :
key : string *
cas : uint64 *
replicateTo : ReplicateTo -> IOperationResult
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:
IOperationResultAn object implementing the
IOperationResultTinterface.
See Also