public void Project( string strProjectPath, string strComment, string strTargetPath, string strArchiveName, Backup.Type eBakMethod, Backup.Medium eBakMedia, double dSplitSize, Backup.Amount eBakAmount, bool bCompressPrj, bool bInclExtDocs, bool bInclImages, bool bCopyReferencedData )
public: void Project( String^ strProjectPath, String^ strComment, String^ strTargetPath, String^ strArchiveName, Backup.Type eBakMethod, Backup.Medium eBakMedia, double dSplitSize, Backup.Amount eBakAmount, bool bCompressPrj, bool bInclExtDocs, bool bInclImages, bool bCopyReferencedData )
Parameters
- strProjectPath
- An entire path to the project. (File extensions, e.g. *.elk, don't have to be specified.)
- strComment
- String that is written as a comment into the corresponding backup property in the backed up project.
- strTargetPath
- Destination path where the backed up project is stored.
- strArchiveName
- File name under which backed up project is to be saved.
- eBakMethod
- An Enum constant, which may have the following values:
Backup : Project is backed up
SourceOut : Project is filed off
Archive : Project is archived. Must not be set when "eBakMedia" parameter is "EMail".
Pack : Project is packed. Param
strTargetPath
is ignored. - eBakMedia
- An Enum constant, which may have the following values:
Disk : Project is backed up on hard disk, diskette...
EMail : Project is sent by e-mail. Window with new message will be shown.
- dSplitSize
- If the project is to be compressed before being backed up, it is possible to automatically split the destination file into smaller sections to easily send them by e-mail. SplitSize indicates the maximum file size in megabytes. If rdSplitSize = 0, the file is not split up. If the eBakMedia parameter = Disk, rdSplitSize is ignored!
- eBakAmount
- An Enum constant, which may have the following values:
All : The entire project directory is backed up.
Min : Only the database files required to restore the project are backed up; redundant database files are ignored.
- bCompressPrj
- If true, the database is compressed before the backup is made (at DISAM level, the EPLAN project is not compressed).
- bInclExtDocs
- If true, external documents are included in the backup (files in the project subdirectory \DOC).
- bInclImages
- If true, image files are included in the backup (files in the project subdirectory \Images).
- bCopyReferencedData
- If true, external files that are referenced by the project are copied to the project's directory (the '\DOC' subdirectory) before the backup.