CloseConnection() публичный Метод

Closes the connection identified with the given serial number. When the connection is closed, it is removed from the list of connections available to the time series library, and the serial number no longer refers to this connection.
public CloseConnection ( int connectionNumber ) : void
connectionNumber int The serial number of the connection to be closed
Результат void
Пример #1
0
 public void CloseConnection(int connectionNumber)
 {
     try
     {
         // let the sibling method in the wrapped TSLibrary object contain the logic
         TSLib.CloseConnection(connectionNumber);
     }
     catch (Exception e)
     {
         ErrorMessage = e.Message;
     }
 }