Removes a document for a given key from the database.
Namespace: Couchbase.CoreAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
SyntaxIOperationResult Remove(
string key,
ulong cas,
ReplicateTo replicateTo
)
IOperationResult Remove(
string key,
ulong cas,
ReplicateTo replicateTo
)
Function Remove (
key As String,
cas As ULong,
replicateTo As ReplicateTo
) As IOperationResult
Function Remove (
key As String,
cas As ULong,
replicateTo As ReplicateTo
) As IOperationResult
IOperationResult^ Remove(
String^ key,
unsigned long long cas,
ReplicateTo replicateTo
)
IOperationResult^ Remove(
String^ key,
unsigned long long cas,
ReplicateTo replicateTo
)
abstract Remove :
key : string *
cas : uint64 *
replicateTo : ReplicateTo -> IOperationResult
abstract Remove :
key : string *
cas : uint64 *
replicateTo : ReplicateTo -> IOperationResult
Parameters
- key
- Type: System.String
The key to remove from the database
- cas
- Type: System.UInt64
The CAS (Check and Set) value for optimistic concurrency.
- replicateTo
- Type: Couchbase.ReplicateTo
The durability requirement for replication.
Return Value
Type:
IOperationResultAn object implementing the
IOperationResult<T>interface.
See Also