Back to product page
- Introduction
- Overview
- License Agrement
- Getting Started
- Objects
- Enumerations
- wodSSH
- Methods
- Properties
- AllocatePty
- Authentication
- Blocking
- ClientName
- Columns
- Command
- Compression
- DataOut
- DataReady
- Encoding
- Encryption
- EncryptionList
- ErrorText
- ExitSignal
- ExitStatus
- FIPS
- ForwardHost
- ForwardPort
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeyForward
- KeySignatureList
- LastError
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- Rows
- ShowStdErrorMessages
- State
- StateText
- StripANSI
- StripNull
- Subsystem
- TerminalSpeed
- TerminalType
- Timeout
- UseIPv6
- Version
- Events
- IwodSSHNotify
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Disconnect method
Disconnects from the remote server.
Type
NoneSyntax
- Basic
object.Disconnect [WaitLogoff]
The Disconnect(object,WaitLogoff) syntax has these parts:
The Disconnect(object,WaitLogoff) syntax has these parts:
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.