HistorySources.Items
- Last UpdatedFeb 25, 2021
- 1 minute read
The HistorySources.Items property is a read-only array property that shows the array of history source names.
Syntax
Result = HistorySources.Items;
Remarks
No default.
Example
Populate a string array uda of a userdefined instance with the server names configured in the Trend Control, and then add them to a list box control on the canvas)
dim i as integer;
dim b as object;
ListBox1.Clear();
for i = 1 to TrendClient1.HistorySources.Count;
b = TrendClient1.HistorySources.Items[i];
UserDefined_001.items[i] = b.ServerName;
ListBox1.AddItem(UserDefined_001.Items[i]);
next;