Subject RE: [firebird-support] Putting Database In Single User Mode
Author Alan McDonald
> >you need to read in the docs about database shutdown.
> >You may also decide to use events to drive the users to disconnect..
> >
> >
> What I have found to my level best is this,
> "gfix -shut -force 0 dbname"
> Can u do more favor by suggesting the exact documentation ?
> I would like to do it programattically. The command which I
> found is suggesting to connect to database using ISQL in
> DOS Mode. If there is any way to fire these commands
> using any IBO/IBX components pl suggest me the way.
> Thanks a Lot.
> Thanks and Best Regards.
> R. S. Patil

IBX has a set of admin tools - TConfigService has a shutdown method.
IBO must have similar somewhere..
I meant for you to read the Operations Guide (Database Config and
Maintenance chapter (7?)) regarding the nuance of using this shutdown.