AnyDAC
ContentsIndexHome
PreviousUpNext
TADCustomManager.CanRefreshConnectionDefFile Property

Checks if connection definition list may be refreshed.

Group
Links

The CanRefreshConnectionDefFile property returns True, if not one active connection is associated with any of connection definitions in the ConnectionDefs list. In this case ConnectionDefs may be erased or refreshed.

property CanRefreshConnectionDefFile: Boolean;
// reload connection definition list
if ADManager.CanRefreshConnectionDefFile then begin
  ADManager.ConnectionDefs.Clear;
  ADManager.ConnectionDefs.Load;
end;
What do you think about this topic? Send feedback!