TFlushBuffers
Return to Introduction  Previous page  Next page
A pointer to a method of this type is passed by the server as a parameter to the VcsInitAddin method. This method can be called to reinitialize the repository. In effect, this call is equivalent to shutting down and restarting the server for the current repository.

type  
  TReinitialize = function: Boolean; stdcall;  

Parameters

None

Example (Delphi)

procedure TRestoreThread.Execute;  
begin  
  DoDisableServer;  
  try  
    DoFlushBuffers;  
    // Validate and restore any corrupted archives  
    try  
      ValidateTheRepository;  
    finally  
      DoReinitialize;  
    end;  
  finally  
    DoEnableServer;  
  end;  
end;  

 


© 1995-2018 MCN Software