Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / ConnectionProperties Class
Members


In This Topic
    ConnectionProperties Class
    In This Topic
    Encapsulates properties for a single Historian server connection.

    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.

    Syntax
    Public Class ConnectionProperties 
    public class ConnectionProperties 
    public ref class ConnectionProperties 
    Inheritance Hierarchy

    System.Object
       Proficy.Historian.ClientAccess.API.ConnectionProperties

    Requirements

    Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

    See Also