Disconnect

Top  Previous  Next

The Disconnect method terminates the connection to the Telnet server.

 

Syntax

         

[boolean] = Display.Disconnect([timeout])        

 

Remarks

 

The timeout parameter is optional and is measured in milliseconds. This method returns 'True' if the connection is successfully established and 'False' if the timeout period expires.

 

If you specify a value in the timeout parameter, the value of the WaitTimeout property will not have any effect.

 

 

Related Topics

 

Wait Method
WaitForConnect Method