API Help
Eplan.EplApi.HEServices Namespace / Restore Class / Project Method / Project(StringCollection,String,String,Boolean,Boolean) Method
Collection of archive file names (.zw1 files) to be restored.
Path into which the projects will be restored.
If only ONE project should be restored, the name of the target project must be set in this parameter. (If more than one project is restored, i.e. the file specified in strColArchivenames contains more than one entry,the names of the target projects will be created from the names in the archive file).
Set this flag to false normally. Only set the attribute to true, if you want to unpack a packed project. This is a special case for the project management\: If true, in strCollArchivenames not archive names, but project link file names were passed; the restore method in this case creates the archive names from the project names.
If set to true, no summary dialog will be shown at the end of the backup process. (Else a message box (decider) with the restore results for all projects will be shown).

In This Topic
    Project(StringCollection,String,String,Boolean,Boolean) Method
    In This Topic
    Restore projects from archive files.
    Syntax

    Parameters

    strColArchivenames
    Collection of archive file names (.zw1 files) to be restored.
    strRestorePath
    Path into which the projects will be restored.
    strProjectName
    If only ONE project should be restored, the name of the target project must be set in this parameter. (If more than one project is restored, i.e. the file specified in strColArchivenames contains more than one entry,the names of the target projects will be created from the names in the archive file).
    bUnpackProjects
    Set this flag to false normally. Only set the attribute to true, if you want to unpack a packed project. This is a special case for the project management\: If true, in strCollArchivenames not archive names, but project link file names were passed; the restore method in this case creates the archive names from the project names.
    bQuietMode
    If set to true, no summary dialog will be shown at the end of the backup process. (Else a message box (decider) with the restore results for all projects will be shown).
    Exceptions
    ExceptionDescription
    An error occurred while restoring the project.
    \Internal interface for restore could not be created.
    Remarks
    If the project to restore already exists, it will be overwritten. ProjectInfo.xml will be restored always.
    See Also