Exemple #1
0
 static void Main(string[] args)
 {
     try
     {
         OVFManagerExportVMDK app = new OVFManagerExportVMDK();
         cb = AppUtil.AppUtil.initialize("OVFManagerExportVMDK",
                                         OVFManagerExportVMDK.ConstructOptions(),
                                         args);
         cb.connect();
         app.ExportVM();
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
     }
     cb.disConnect();
     Console.Read();
 }
 static void Main(string[] args)
 {
     try
     {
         OVFManagerExportVMDK app = new OVFManagerExportVMDK();
         cb = AppUtil.AppUtil.initialize("OVFManagerExportVMDK",
                                 OVFManagerExportVMDK.ConstructOptions(),
                                 args);
         cb.connect();
         app.ExportVM();
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
     }
     cb.disConnect();
     Console.Read();
 }