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