AutoRecoverInterval property

Microsoft Visio Developer Reference

AutoRecoverInterval property

       

Represents the time interval (in minutes) for how often you want to create copies of open documents with unsaved changes in case of a power failure or an application error.

Version added

2000 SR-1

Syntax

intRet = object.AutoRecoverInterval
object.AutoRecoverInterval = intExpression

intRet

Integer. An integer value from zero (0) to 120 representing the interval in minutes. The default is 0.

object

Required. An expression that returns an Application object.

intExpression

Required Integer. An integer value from 0 to 120 representing the interval in minutes. The default is 0.

Remarks

If the value of the AutoRecoverInterval property is less than or equal to 0, no automatic recovery copies are created.

If the value of the AutoRecoverInterval property is greater than 0, automatic recovery is enabled for all documents in the Visio instance. To disable automatic recovery for a particular document, set its AutoRecover property to False.