IAerospikeClientGetHeader Method (Policy, Key)

Aerospike
Read record generation and expiration only for specified key. Bins are not read. If found, return record instance. If not found, return null. The policy can be used to specify timeouts.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
Record GetHeader(
	Policy policy,
	Key key
)

Parameters

policy
Type: Aerospike.ClientPolicy
generic configuration parameters, pass in null for defaults
key
Type: Aerospike.ClientKey
unique record identifier

Return Value

Type: Record
Exceptions

ExceptionCondition
AerospikeExceptionif read fails
See Also

Reference