I am searching for a property exposed by the net provider to check if
database is in shutdown mode, something like: FbStatistical.IsShutdown.

The gstat you suggest returns:
 Attributes: force write    (when the database is online)
and
 Attributes: force write, multi-user maintenance (when the database is in
shutdown mode)

but it is a command line tool and it is difficult to use this inside my app.

Στις 20 Δεκεμβρίου 2009 11:04 π.μ., ο χρήστης Jiri Cincura <
[email protected]> έγραψε:

> 2009/12/20 Γιάννης Μπουρκέλης <[email protected]>:
> > Is there any way to determine if the database is in shutdown mode without
> > raising an exception on connection?
>
> gstat -h foo.fdb ;)
>
> --
> Jiri {x2} Cincura (CTO x2develop.com)
> http://blog.cincura.net/ | http://www.ID3renamer.com
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to