Description

Whether this McDBNode is automatically written when it is changed.

Property type

A Boolean value.  

Syntax

object.AutoSave [= value]

The AutoSave Property syntax has these parts:

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

Remarks

McDBNode objects are dynamic by default, which means that changes are written to objects as soon as they occur. However, this frequency of writing can lead to significant degradation of performance when a large number of objects is involved. When speed is more critical than the dynamic abilities the default behavior offers, the writing of changed McDBNode instances can be delayed through this property. When this property is False, it means that the client owning the object is responsible for writing the McDBNode object (i.e. by setting this property back to True), or else changes made will not be written.

Exceptions

Error Value Description
E_ACCESSDENIED &H80070005 The McDBDatabase.LoggedUser does not have McDBRight.Write permission in the Rights for this McDBNode or its context Parent.
E_UNEXPECTED &H8001FFFF A framework error occurred while writing this McDBNode.

Notes

The McDBNode object is written when this property is set to True. AutoSave only effects the implied attributes of an McDBNode. Explicit Attributes will continue to save in a normal (immediate) manner.