IConnection.Close Method

The Close method closes the current connection with the runtime system.

Namespace – ABSuite.AccessLayer.Connector.Core

Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)

Syntax

void Close()

Using the IConnection Interface for the Close Method

The following code shows an example of using the Close() method to close the connection with the host system:

  // CloseHostSession performs a Close operation on the Connection object
  public void CloseHostSession()
  {   
   // Call the Close method on the Connection object
        ABSConnection.Close();
  }