Disconnection

Top  Previous  Next

This method terminates the current connection.

 

VB.NET

tnxxxx.Disconnect()

 

C#

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

 

 VB.NET:

 Private Sub cmdDisconnect_Click(eventSender As object, eventArgs As System.EventArgs)

   tn3270.Disconnect()

 End Sub

 

 C#:

 private void cmdDisconnect_Click(object eventSender, System.EventArgs eventArgs)

 {

         tn3270.Disconnect();

 }