public void processDelete()
        {
            CouchUtil cUtil = new CouchUtil();

            bool   isError;
            string errorText;

            foreach (var doc in docList)
            {
                bool   SouceDocDeleted;
                string exception;
                //cUtil.DeleteDocument(srcvo, doc, out exception, out SouceDocDeleted);
                //new CouchUtil(srcvo).GetDocument(out msg, out gotDoc, srcvo, regVO);
                CouchArchiverDeleteHelper.getInstance().Document_Delete(out errorText, out isError, srcvo, doc);

                if (!isError)
                {
                    successCount++;
                }
                else
                {
                    failCount++;
                }
                //
            }
            log.Info(string.Format(" Success delete count {0} fail count {1} Total count {2}", successCount, failCount, docList.Count));
        }
 public void deleteDocFromSource()
 {
     try
     {
         bool   error;
         string retMSG;
         SouceDocDeleted = CouchArchiverDeleteHelper.getInstance().Document_Delete(out retMSG, out error, JobAllocationHandlerMain.getSourceCouch(), vo.StorageID);
     }
     catch (Exception e)
     {
         log.Error(string.Format("Document delete failed for {0} source db{1}", storageID, JobAllocationHandlerMain.getSourceCouch().dbName), e);
         SouceDocDeleted = false;
     }
 }
 public void deleteDocFromSource()
 {
     try
     {
         bool   error;
         string retMSG;
         SouceDocDeleted = CouchArchiverDeleteHelper.getInstance().Document_Delete(out retMSG, out error, srcCouchVO, vo.StorageID);
         //log.Debug(string.Format("Delete Document {0}:<msg from couch> {1}", vo.StorageID,exception));
     }
     catch (Exception e)
     {
         log.Error(string.Format("Document delete failed for {0} source db{1}", storageID, srcCouchVO.dbName), e);
         SouceDocDeleted = false;
     }
 }