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

Apps, Widgets, and Controls

HistorySources​.Add

  • Last UpdatedDec 08, 2015
  • 1 minute read

HistorySources.Add method adds a new history source.

Example

Dim histSources = Trend1.HistorySources;

Dim ret = histSources.Add("idc_insql12", "InSQL");

Syntax

[Result =] HistorySources.Add(string HistorySourceName, string Type);

Parameters

HistorySourceName

The name of the history source.

Type

The type of history source "InSQL" or "InTouch".

Return Value

If there is already a server with the given name in the list, the object for that server is returned. Otherwise, a new server with the given name is added to the list and the object for the new server is returned.

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