예제 #1
0
 public static void Main(string[] args)
 {
     try
     {
         OVFManagerExportVAPP app = new OVFManagerExportVAPP();
         cb = AppUtil.AppUtil.initialize("OVFManagerExportVAPP",
                                         OVFManagerExportVAPP.constructOptions(),
                                         args);
         cb.connect();
         app.ExportVApp();
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
     }
     cb.disConnect();
     Console.Read();
 }
 public static void Main(string[] args)
 {
     try
     {
         OVFManagerExportVAPP app = new OVFManagerExportVAPP();
         cb = AppUtil.AppUtil.initialize("OVFManagerExportVAPP",
                                 OVFManagerExportVAPP.constructOptions(),
                                 args);
         cb.connect();
         app.ExportVApp();
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
     }
     cb.disConnect();
     Console.Read();
 }