Subject | Re: [IBO] Open Connection - Check for Failure? |
---|---|
Author | Woody (TMW) |
Post date | 2004-12-22T22:43:10Z |
>You can also test the ConnectedStatus property. If the Open fails, an
>
> --- In IBObjects@yahoogroups.com, "Woody \(TMW\)" <woody-tmw@g...> wrote:
> > >
> > > How do I check to see if "open" has failed on a TIB_Connection?
> >
> > IIRC, you could test the Connected property to see if it's true.
> >
> > Woody (TMW)
>
> Does open throw an exception is it fails? In that case, I'd never get
> to the Connected check.
exception is thrown but I don't know if you can set the time for how long it
waits. Someone else may know but I can't think of anything off the top of my
head.
Woody (TMW)