Bringing a Database Online
Go Up to Setting Database Properties Using InterBase Services
Use the BringDatabaseOnline
method of the TIBConfigService
component to bring a database back online.
For example, you could associate the BringDatabaseOnline
method to a menu item:
procedure TForm1.BringDatabaseOnline1Click(Sender: TObject); begin with IBConfigService1 do begin BringDatabaseOnline; end; end;
For more information, refer to “Restarting a database” in the Operations Guide.