API Help
Eplan.EplApi.HEServices Namespace / Backup Class
Members Example

Backup Class
This class provides functions for the data backup. Following example shows how to use Backup class.
Inheritance Hierarchy

System.Object
   Eplan.EplApi.HEServices.Backup

Syntax
public class Backup 
Example
Following example shows how to use Backup class.
Backup oBackup = new Backup();
oBackup.Project(
 "$(MD_PROJECTS)\\ESS_Sample_Project.elk",
  "Project backup - test comment",
  "$(MD_PROJECTS)",
  "ESS_Sample_Project.zw1",
  Backup.Type.MakeBackup,
  Backup.Medium.Disk,
  0.0 /*do not split*/,
  Backup.Amount.All,
  false,
  false,
  false,
  false);
Console.Out.WriteLine("Backup of project was created !");

Public Constructors
 NameDescription
Public ConstructorDefault constructor  
Top
Public Methods
 NameDescription
Public MethodDestructor  
Public MethodBacks up master data. Master data include: Symbol libraries, plot frames, forms, macros, parts data, dictionaries, user/workstation data.  
Public MethodOverloaded. Backs up an entire project. The path specified in strProjectPath parameter becomes invalid after the backup.  
Top
See Also