wodSSH ActiveX Control - Disconnect Method
      
 

Description

Disconnects from the remote server.


Return Type

None  


Syntax

object.Disconnect [WaitLogoff]



The Disconnect Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSSH.
WaitLogoff Optional. A Variant value. When set to True, wodSSH will send QUIT (and wait for its answer) before it closes the connection.

Remarks

The Disconnect method will close that socket between wodSSH and the remote server, thus breaking the connection. If the WaitLogoff argument isn't specified, or is set to False, the server will not be informed about disconnection. If WaitLogoff is set, wodSSH will first send information about the connection closure to the server (QUIT command).

After calling Disconnect, you can set new parameters and issue the Connect method again.