public void MasterData( StringCollection strDataFileSelection, string strComment, string strSourcePath, string strTargetPath, string strArchiveName, Backup.MasterDataType eMdType, Backup.Medium eBakMedia, double dSplitSize )
public: void MasterData( StringCollection^ strDataFileSelection, String^ strComment, String^ strSourcePath, String^ strTargetPath, String^ strArchiveName, Backup.MasterDataType eMdType, Backup.Medium eBakMedia, double dSplitSize )
Parameters
- strDataFileSelection
- Selected files whose master data are to be backed up.
- strComment
- String that is written as a comment into the corresponding backup property in the backed up projects.
- strSourcePath
- Source directory
- strTargetPath
- Destination path where the backed up projects are stored.
- strArchiveName
- Name of file in which the backed up data are stored. Because strTargetpath already contains the destination path, the path must be left out when the file name is entered.
- eMdType
- An Enum constant, which may have the following values:
Symbols : Backup of symbol libraries.
Macros : Backup of macros.
Forms : Backup of forms.
Articles : Backup of parts data.
Languages : Backup of dictionaries.
StandardSheet : Backup of plot frames.
StationData : Backup of workstation settings.
- eBakMedia
- An Enum constant, which may have the following values:
Disk : Project is backed up on hard disk, diskette...
EMail : Project is sent by email. 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 megabyte. If rdSplitSize = 0, the file is not split up. If eBakMedia parameter = Disk, rdSplitSize is ignored!