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
    'Declaration
     
    Public Class ConnectionProperties 
    'Usage
     
    Dim instance As ConnectionProperties
    public class ConnectionProperties 
    public ref class ConnectionProperties 
    Inheritance Hierarchy

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

    Requirements

    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

    See Also