Removes a document for a given key from the database.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic IOperationResult Remove(
string key,
ulong cas
)
public IOperationResult Remove(
string key,
ulong cas
)
Public Function Remove (
key As String,
cas As ULong
) As IOperationResult
Public Function Remove (
key As String,
cas As ULong
) As IOperationResult
public:
virtual IOperationResult^ Remove(
String^ key,
unsigned long long cas
) sealed
public:
virtual IOperationResult^ Remove(
String^ key,
unsigned long long cas
) sealed
abstract Remove :
key : string *
cas : uint64 -> IOperationResult
override Remove :
key : string *
cas : uint64 -> IOperationResult
abstract Remove :
key : string *
cas : uint64 -> IOperationResult
override 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.
Implements
IBucket.Remove(String, UInt64)
See Also