Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Alarm Client Control

HistorySource​.Connect

  • Last UpdatedDec 08, 2015
  • 1 minute read

HistorySource.Connect method logs on to the current history source.

Example

Dim histSources = Trend1.HistorySources;

Dim histSource = histSources.GetSource("idc_insql12");

Dim statusMsg as string;

Dim ret = histSource.Connect(statusMsg);

Syntax

[Result =] HistorySource.Connect(string statusMessage);

Parameters

statusMessage

Information of the result of the log on attempt.

Return Value

Returns TRUE if the log on was successful; otherwise, returns FALSE. The server must be configured before calling the Connect method. Changes made to the server configuration after a connect do not take effect until after a disconnect and subsequent connect.

In This Topic
TitleResults for “How to create a CRG?”Also Available in