UsePersistedServers
- Last UpdatedNov 17, 2021
- 1 minute read
This read-write property controls whether changes to the control’s server connections are only valid for the current runtime session, or whether they are saved to the global server list shared by the AVEVA Historian Client applications.
Syntax
aaHistClientQuery.UsePersistedServers = discrete;
Result = aaHistClientQuery.UsePersistedServers;
Remarks
If you set this property to True, changes to the configured server connections are saved in the global server list. If you set it to False, changes do not affect the global server list.
For example, if you add a server while this property is set to True, the server is added to the global list. If you set the property to False and remove the same server, it disappears from the server list for the current runtime session, but it is not deleted from the global list.
The default is False. To initialize the control with the server connections stored in the global list, set the value to True. You can set it back to False afterwards to avoid inadvertent changes by the run-time user.
For more information on managing servers, see Server Connection Configuration.