Description

Whether the files of this McDBDatabase are unlocked (available for backup by another program).

Property type

A Boolean value.  

Syntax

object.IsAvailableForBackup [= value]

The IsAvailableForBackup Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBDatabase.
valueA Boolean value.

Remarks

When this property is assigned a value of True, all operations on the database are transacted, and the write lock on its files is released. During this time, the database may still be used normally, although all operations done will be lost if IQbase crashes. When this property is assigned a value of False, all actions done from the time this property was set to True are committed to disk and the database's files are again write locked by the Database Engine (McDBLib).

Exceptions

Error Value Description
CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT &H80004024 This McDBDatabase is not open.