public void Dump(string logfile) { this.AssertNotTerminated(); this.m_dbutil.szDatabase = logfile; ExTraceGlobals.EseutilWrapperTracer.TraceDebug <string>((long)this.GetHashCode(), "Dumping {0}", logfile); UnpublishedApi.JetDBUtilities(this.Dbutil); ExTraceGlobals.EseutilWrapperTracer.TraceDebug <string>((long)this.GetHashCode(), "Dumping of logfile {0} detected no errors", logfile); }
public EsentErrorException Verify(string logfile) { lock (this) { this.AssertNotTerminated(); this.m_dbutil.szDatabase = logfile; try { ExTraceGlobals.EseutilWrapperTracer.TraceDebug <string>((long)this.GetHashCode(), "Verifying {0}", logfile); UnpublishedApi.JetDBUtilities(this.Dbutil); ExTraceGlobals.EseutilWrapperTracer.TraceDebug <string>((long)this.GetHashCode(), "Verification of logfile {0} detected no errors", logfile); ExTraceGlobals.PFDTracer.TracePfd <int, string>((long)this.GetHashCode(), "PFD CRS {0} Verification of logfile {1} detected no errors", 31211, logfile); } catch (EsentErrorException ex) { ExTraceGlobals.EseutilWrapperTracer.TraceError <string, EsentErrorException>((long)this.GetHashCode(), "Verification of logfile {0} detected corruption: {1}", logfile, ex); return(ex); } } return(null); }