Subject | Re: [IBO] IBO connects |
---|---|
Author | Jason Wharton |
Post date | 2001-01-30T00:55:46Z |
There is, IBO doesn't make it right on the surface but it is possible to do
a shutdown and restart of a database using the SYSDBA account.
The way it is done is you add the DPB (database parameter block) information
upon connecting to the database. Look in the IB_WISQL tool's IBF_WISQL form
for how it initiates a sweep and this is a similar process to shutting down
and restarting a database.
See the API guide to InterBase for the nitty gritty details of how to do
this.
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
a shutdown and restart of a database using the SYSDBA account.
The way it is done is you add the DPB (database parameter block) information
upon connecting to the database. Look in the IB_WISQL tool's IBF_WISQL form
for how it initiates a sweep and this is a similar process to shutting down
and restarting a database.
See the API guide to InterBase for the nitty gritty details of how to do
this.
Regards,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Brian Nuckels" <bnuckels@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, January 29, 2001 10:03 AM
Subject: Re: [IBO] IBO connects
> You can disconnect the current user by setting TIB_Connection.Connected :=
> False, but this will not ensure all users are disconnected. If you might
> have simultaneous users, this won't work. There may be a way to
disconnect
> all from the Services API, but I don't know for sure.
>
> ----- Original Message -----
> From: "Daniel Bertin" <daniel@...>
> To: <IBObjects@yahoogroups.com>
> Sent: Monday, January 29, 2001 9:25 AM
> Subject: Re: [IBO] IBO connects
>
>
> > Hi
> > With IBO How can I connect/disconnect a database at run time? the
connect
> > property yes/no?
> >
> > if this is possible then I could do a backup, restore it to a search
> > database and connect to that database when I need to search.
> >
> > I need to make sure they are disconnected when done the search, because
I
> > cannot over write a open database.
>
>
>
>
>