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
)
IOperationResult Remove(
string key,
ulong cas
)
Function Remove (
key As String,
cas As ULong
) As IOperationResult
Function Remove (
key As String,
cas As ULong
) As IOperationResult
IOperationResult^ Remove(
String^ key,
unsigned long long cas
)
IOperationResult^ Remove(
String^ key,
unsigned long long cas
)
abstract Remove :
key : string *
cas : uint64 -> IOperationResult
abstract Remove :
key : string *
cas : uint64 -> 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.
Return Value
Type:
IOperationResultAn object implementing the
IOperationResult<T>interface.
See Also