Terminate the connection with a remote server.
Syntax
object.Disconnect
Remarks
This method terminates a network connection with a remote
server.
Return Value
A value of zero is returned if the connection was terminated
successfully. Otherwise, a non-zero error code is returned which
indicates the cause of the failure.
See Also
Connected Property,
Connect Method, OnDisconnect Event
|