Project(StringCollection,String,String,Boolean,Boolean,UInt32) 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).
- nMode
- If set to 1, project information file (ProjectInfo.xml) will be also restored.
Exceptions
Exception | Description |
BaseException | An error occurred
while restoring the
project. |
ApplicationException | \Internal interface
for restore could not
be created. |
See Also