Page 1 of 1

Asynchronous connect

Posted: Wed 20 Oct 2010 17:31
by Senya_L
Does TMSConnection support asynchronous connection? In detail: I need possibility to cancel 'hanged' connection, e.g., when target server doesn't exist and not wait for connection timeout expired.

PS. TADOConnection has such a feature but for TMSCOnnection I can't find it :(

Posted: Mon 25 Oct 2010 12:04
by AndreyZ
Hello,

SDAC doesn't support such functionality. You can set the TMSConnection.ConnectionTimeout property to a lower value, for example, 5 seconds.