wodSSHTunnel ActiveX Control - Stop Method
      
 

Description

Stops the channel tunneling.


Return Type

None  


Syntax

object.Stop



The Stop Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Channel.

Remarks

Once you call the Stop method, channel will stop accepting new connections and any users currently connected to the channel will be disconnected.

If you want to wait until users disconnect by themselves before closing the channel, you should first deny new connections to the channel (from the UserConnecting event) and when the last user leaves the channel (which can be detected in the UserDisconnected event) you can close the channel.