Disconnection

Top  Previous  Next

This method terminates the current connection.

 

VB

tnxxxx.Disconnect()

 

Delphi

 tnxxxx.Disconnect;

 

The following graphic shows the sequence of actions corresponding to the Disconnect method:

 

 Host Integration Pack TN Bridge Vb.net C# Delphi ActiveX disconnect method

 

Examples:

 

 VB:

 Private Sub cmdDisconnect_Click()

   telnet.Disconnect()

 End Sub

 

 Delphi:

 procedure TForm1.Button2Click(Sender: TObject);

 begin

   tnb3270.Disconnect;

 end;