How to re-connect programmatically

Roeland

Member³
I have code that request a new session before it will execute again after 1 run (for security reasons).

How can I accomplish the logoff / logon in code in the different windows (SQL, Test and Command)?

Thanks
 
There is no standard functionality for this. Only the Command Window allows you to Connect and Disconnect.
 
Back
Top