public DataCopyProcess(DataRecordTable mainTable, DataCopyDefinition tableCopyDef)
 {
     try{
         sourceServer      = initializeServer(mainTable.getName(), mainTable.getSourceServer());
         destinationServer = initializeServer(mainTable.getName(), mainTable.destinationServer());
         schedule          = tableCopyDef.getCopySchedule();
     }catch (Exception e) {
         Console.WriteLine("Error openning connection to " + this.getServerName() + " : " + e.Message);
         Console.WriteLine(e.StackTrace);
     }
 }
 public void  setDestinationServer(string server)
 {
     this.destinationServer = server;
 }
 public void  setSourceServer(string server)
 {
     this.sourceServer = server;
 }