'Declaration Public Class ConnectionProperties
'Usage Dim instance As ConnectionProperties
public class ConnectionProperties
public ref class ConnectionProperties
A client and target Historian server must share compatible connection property values. For exmample, a server will reject messages bigger than it's own MaxReceivedMessageSize. In order to configure server parameters create an app.config file matching the server EXE name.
For a 64-bit Historian DataArchiver, create a file named "ihDataArchiver_x64.exe.config" in the same location as the EXE. A server restart is required to apply app.config settings.
To configure MaxReceivedMessageSize=1MB, MaxItemsInObjectGraph=100K and OpenTimeout=5 minutes, add the following contents to "ihDataArchiver_x64.exe.config":
<configuration> <appSettings> <add key="MaxReceivedMessageSize" value="10485760"/> <add key="MaxItemsInObjectGraph" value="100000"/> <add key="OpenTimeout" value="0:5"/> </appSettings> </configuration>
Similarily, other connection properties can be configured via a server's app.config.
'Declaration Public Class ConnectionProperties
'Usage Dim instance As ConnectionProperties
public class ConnectionProperties
public ref class ConnectionProperties
System.Object
Proficy.Historian.ClientAccess.API.ConnectionProperties
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2