ConnectionGroup - property of the tvTrend object
Description:
Group identifier (of the
PmaTrendGroup object) in trend server (in the PROMOTIC application) that the trend viewer connects to.
Syntax:
String ConnectionGroup
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var sGroup = oTrend.ConnectionGroup;
// Reading from the property
// or
oTrend.ConnectionGroup = "GroupX";
// Writing into the property
}
Dim oTView
Set oTView = pMe.Items("../TrendView")
Dim oTrend
Set oTrend = oTView.Trends(0)
If Not oTrend Is Nothing Then
Dim sGroup
sGroup = oTrend.ConnectionGroup
' Reading from the property
' or
oTrend.ConnectionGroup = "GroupX"
' Writing into the property
End If