Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / AttachedDocument Class / BackupExists Property
In This Topic
    BackupExists Property (AttachedDocument)
    In This Topic
    Does this document have a backup file on the disc?
    Syntax
    public override bool BackupExists {get;}
    Exceptions
    ExceptionDescription
    The object is in invalid state. Obtain a new one.

    Internal error of HpD or HpD API.

    IMPORTANT: Throwing this exception changes HpD Api's state to Failed.

    Api is not in an initialized state. You can get current state from EPLAN.Harness.API.HpdApi.Status property. If API is uninitialized, you can initialize it by calling EPLAN.Harness.API.HpdApi.Init method. If API is in failed state, you can not resurrect it.
    Remarks
    If the backup exists you can use method Document.Restore or Document.Open to restore this document.
    See Also