Disconnecting from the Redundant Historian
- Last UpdatedAug 21, 2026
- 1 minute read
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.