Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Historian SDK

Disconnecting from the Redundant Historian

After the connection to the redundant historian configuration is no longer needed, it should be closed by the CloseConnection() method of the MultiHistorianAccess class.  

Example

HistorianAccessError error;
if (!multiHistorian.CloseConnection(out error))
    Console.WriteLine("Failed to close multi-historian connection: {0}",
        error.ErrorDescription);

The CloseConnection() method releases the allocated resources and stops the store-and-forward engine child process.