FDConnection1断网后自动重连

void __fastcall TFireDM::FDConnection1Recover(TObject* ASender, TObject* AInitiator, Exception* AException, TFDPhysConnectionRecoverAction &AAction)
{

//设置为重试模式
AAction=faRetry;//faCloseAbort;//faOfflineAbort;

}

原文地址:https://www.cnblogs.com/suhq/p/13149413.html