Click or drag to resize

QdbBlobUpdate Method

Replaces the content.

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

Parameters

content
Type: SystemByte
The new content of the blob.
expiryTime (Optional)
Type: SystemNullableDateTime
The expiry time to set.

Return Value

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