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,
ReplicateTo replicateTo,
PersistTo persistTo
)
IOperationResult Remove(
string key,
ReplicateTo replicateTo,
PersistTo persistTo
)
Function Remove (
key As String,
replicateTo As ReplicateTo,
persistTo As PersistTo
) As IOperationResult
Function Remove (
key As String,
replicateTo As ReplicateTo,
persistTo As PersistTo
) As IOperationResult
IOperationResult^ Remove(
String^ key,
ReplicateTo replicateTo,
PersistTo persistTo
)
IOperationResult^ Remove(
String^ key,
ReplicateTo replicateTo,
PersistTo persistTo
)
abstract Remove :
key : string *
replicateTo : ReplicateTo *
persistTo : PersistTo -> IOperationResult
abstract Remove :
key : string *
replicateTo : ReplicateTo *
persistTo : PersistTo -> IOperationResult
Parameters
- key
- Type: System.String
The key to remove from the database
- replicateTo
- Type: Couchbase.ReplicateTo
The durability requirement for replication.
- persistTo
- Type: Couchbase.PersistTo
The durability requirement for persistence.
Return Value
Type:
IOperationResultAn object implementing the
IOperationResult<T>interface.
See Also