HistorySources.GetSource
- Last UpdatedDec 08, 2015
- 1 minute read
HistorySources.GetSource method gets the named history source object for a server from the server list.
Example
Dim histSources = Trend1.HistorySources;
Dim histSource = histSources.GetSource("IDC_INSQL15");
Syntax
[Result =] HistorySources.GetSource(string HistorySourceName);
Parameters
HistorySourceName
The name of the history source.
Return Value
If the server exists, the object is returned; otherwise, a NULL is returned.