Delete record for specified key.
Return whether record existed on server before deletion.
The policy specifies the transaction timeout.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public bool Delete( WritePolicy policy, Key key )
Parameters
- policy
- Type: Aerospike.ClientWritePolicy
delete configuration parameters, pass in null for defaults - key
- Type: Aerospike.ClientKey
unique record identifier
Return Value
Type: BooleanImplements
IAerospikeClientDelete(WritePolicy, Key)Exceptions
Exception | Condition |
---|---|
AerospikeException | if delete fails |
See Also