Click or drag to resize

QdbTimestampUpdate Method

Sets the value of the timestamp, fails if it already exists.

Namespace:  Quasardb
Assembly:  Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntax
public bool Update(
	DateTime value,
	DateTime? expiryTime = null
)

Parameters

value
Type: SystemDateTime
The new value of the timestamp.
expiryTime (Optional)
Type: SystemNullableDateTime
The expiry time of the timestamp.

Return Value

Type: Boolean
true if the timestamp has been created, or false if it has been replaced.
Exceptions
ExceptionCondition
QdbIncompatibleTypeExceptionThe entry in the database is not an timestamp.
See Also