FireDAC.Phys.IBBase.TFDIBConfig.ShutdownDB

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ShutdownDB(AMode: TIBShutdownMode; ATimeout: LongWord);

C++

void __fastcall ShutdownDB(Firedac::Phys::Ibwrapper::TIBShutdownMode AMode, unsigned ATimeout);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FireDAC.Phys.IBBase.pas
FireDAC.Phys.IBBase.hpp
FireDAC.Phys.IBBase TFDIBConfig

Description

Use the ShutdownDB method to shutdown the database.

Use the ShutdownDB method to shutdown the database using the specified mode and timeout. The supported modes are:

  • smForce - shuts down the database when there are no connections to the database, or at the end of the timeout period you specify. This mode corresponds to gfix -shut -force n.
  • smDenyTransactions - shuts down the database if there are no active transactions at the end of the timeout period you specify. This mode denies new transactions during this timeout period and fails if there are active transactions at the end of the timeout period. It corresponds to gfix -shut -tran n.
  • smDenyAttachements - shuts down the database if there are no active transactions at the end of the timeout period you specify. This mode denies new database attachments during this timeout period and fails if there are active database attachments at the end of the timeout period. It corresponds to gfix -shut -attach n.

See Also