Encapsulates a client connection to a Historian server. Provides methods for
interacting with a server for query, creation, configuration and maintenance of:
data, tags, messages, collectors and archive files.
// sample connection to a Historian server on local machine
// current Windows user credentials are used for authorization
ServerConnection connection = new ServerConnection(new ConnectionProperties { ServerCertificateValidationMode = CertificateValidationMode.None });
// establish a connection
connection.Connect();
// output the local server-time
Console.WriteLine("Server time is " + connection.IServer.GetCurrentServerTime().ToLocalTime());
// disconnect
connection.Disconnect();
System.Object
Proficy.Historian.ClientAccess.API.ServerConnection
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